#C9AB4E#C9AB4E
#C9AB4E is a light, moderate yellow. Relative luminance 0.421; OKLCH L 75.0% C 0.117 H 91.5°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AB4E |
|---|---|
| RGB | rgb(201, 171, 78) |
| HSL | hsl(45, 53%, 55%) |
| HSV | hsv(45, 61%, 79%) |
| CMYK | cmyk(0%, 14.9%, 61.2%, 21.2%) |
| CIE-LAB | lab(70.94, 0.05, 50.85) |
| CIE-LCH | lch(70.94, 50.85, 89.94°) |
| OKLab | oklab(74.96% -0.003 0.1172) |
| OKLCH | oklch(74.96% 0.117 91.5) |
| XYZ | xyz(40.0273, 42.0955, 13.2232) |
| Luminance | 0.4209 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.79
Sandy Brown
#C4A661
ΔE00 4.24
Tan (survey)
#D1B26F
ΔE00 5.12
Sand Brown
#CBA560
ΔE00 5.45
Mustard
#DBB42C
ΔE00 5.67
Camel (survey)
#C69F59
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AB4E #4E6CC9
analogous
#C96E4E #C9AB4E #AAC94E
triadic
#C9AB4E #4EC9AB #AB4EC9
tetradic
#C9AB4E #4EC96E #4E6CC9 #C94EAA
square
#C9AB4E #4EC96E #4E6CC9 #C94EAA
split-complementary
#C9AB4E #4EAAC9 #6E4EC9
monochromatic
#786425 #A78B33 #C9AB4E #D7C17D #E6D8AC
Accessibility & contrast
On white
2.23
#C9AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#C9AB4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AB4E
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AB4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AB4E | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA944
Deuteranopia (green-blind)
#C3B152
Tritanopia (blue-blind)
#D89F97
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c9ab4e; /* rgb */ color: rgb(201, 171, 78); /* oklch */ color: oklch(75.0% 0.117 91.5);
Tailwind
colors: {
custom: {
50: '#dcc383',
500: '#c9ab4e',
950: '#000000',
},
}SCSS
$custom: #c9ab4e; $custom-light: #dcc383; $custom-dark: #000000;
JSON
{
"hex": "#c9ab4e",
"rgb": {
"r": 201,
"g": 171,
"b": 78
},
"hsl": {
"h": 45.366,
"s": 53.247,
"l": 54.706
},
"oklch": {
"l": 0.74956,
"c": 0.11727,
"h": 91.5
},
"luminance": 0.42093
}Semantic roles & 50–950 ramp
primary
#C9AB4E
secondary
#9FACD3
accent
#6FDD4B
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C