#ccb18c
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #ccb18c | |
| RGB | rgb(204 177 140) | |
| HSL | hsl(34.69 38.55% 67.45%) | |
| OKLCH | oklch(0.77 0.06 75.42) | |
| CMYK | cmyk(0% 13.24% 31.37% 20%) | |
| Android | #ffccb18c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.05:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.23:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#ccb18c"
Gradient stop
<stop stop-color="#ccb18c"/>
CSS variable + fill
:root { --c: #ccb18c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ccb18c; background-color: #ccb18c; bg-[#ccb18c]