#CCAB5F#CCAB5F
#CCAB5F is a light, moderate orange. Relative luminance 0.428; OKLCH L 75.5% C 0.103 H 86.4°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAB5F |
|---|---|
| RGB | rgb(204, 171, 95) |
| HSL | hsl(42, 52%, 59%) |
| HSV | hsv(42, 53%, 80%) |
| CMYK | cmyk(0%, 16.2%, 53.4%, 20%) |
| CIE-LAB | lab(71.41, 2.64, 43.24) |
| CIE-LCH | lch(71.41, 43.32, 86.51°) |
| OKLab | oklab(75.46% 0.0064 0.1026) |
| OKLCH | oklch(75.46% 0.103 86.4) |
| XYZ | xyz(41.5320, 42.7916, 16.8963) |
| Luminance | 0.4279 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Desert
#CCAD60
ΔE00 0.82
Sandy Brown
#C4A661
ΔE00 2.04
Tan (survey)
#D1B26F
ΔE00 2.56
Sand Brown
#CBA560
ΔE00 2.71
Sandstone
#C9AE74
ΔE00 3.69
Camel (survey)
#C69F59
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAB5F #5F80CC
analogous
#CC745F #CCAB5F #B6CC5F
triadic
#CCAB5F #5FCCAB #AB5FCC
tetradic
#CCAB5F #5FCC74 #5F80CC #CC5FB6
square
#CCAB5F #5FCC74 #5F80CC #CC5FB6
split-complementary
#CCAB5F #5FB6CC #745FCC
monochromatic
#866A2B #B48F39 #CCAB5F #DBC38D #EADCBC
Accessibility & contrast
On white
2.20
#CCAB5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#CCAB5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAB5F
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAB5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAB5F | 1.00 | 2.20 | 9.56 | 9.56 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBAA58
Deuteranopia (green-blind)
#C3B362
Tritanopia (blue-blind)
#DB9F99
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccab5f; /* rgb */ color: rgb(204, 171, 95); /* oklch */ color: oklch(75.5% 0.103 86.4);
Tailwind
colors: {
custom: {
50: '#dec38e',
500: '#ccab5f',
950: '#000000',
},
}SCSS
$custom: #ccab5f; $custom-light: #dec38e; $custom-dark: #000000;
JSON
{
"hex": "#ccab5f",
"rgb": {
"r": 204,
"g": 171,
"b": 95
},
"hsl": {
"h": 41.835,
"s": 51.659,
"l": 58.627
},
"oklch": {
"l": 0.75459,
"c": 0.10276,
"h": 86.4
},
"luminance": 0.42789
}Semantic roles & 50–950 ramp
primary
#CCAB5F
secondary
#AEBBD9
accent
#78DB4D
background
#FDFBF8
surface
#FBF7F0
border
#D4D0CB
text
#15120C
muted
#83817D