#C9A82E#C9A82E
#C9A82E is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.1% C 0.138 H 92.9°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C9A82E |
|---|---|
| RGB | rgb(201, 168, 46) |
| HSL | hsl(47, 63%, 48%) |
| HSV | hsv(47, 77%, 79%) |
| CMYK | cmyk(0%, 16.4%, 77.1%, 21.2%) |
| CIE-LAB | lab(69.91, -0.08, 63.01) |
| CIE-LCH | lch(69.91, 63.01, 90.07°) |
| OKLab | oklab(74.07% -0.0071 0.1375) |
| OKLCH | oklch(74.07% 0.138 92.9) |
| XYZ | xyz(38.5854, 40.6223, 8.3928) |
| Luminance | 0.4062 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 3.37
Ocher
#BF9B0C
ΔE00 3.90
Mustard
#DBB42C
ΔE00 4.01
Ocre
#C69C04
ΔE00 4.09
Brownish Yellow
#C9B003
ΔE00 4.22
Yellow Ochre
#CB9D06
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9A82E #2E4FC9
analogous
#C95A2E #C9A82E #9CC92E
triadic
#C9A82E #2EC9A8 #A82EC9
tetradic
#C9A82E #2EC95A #2E4FC9 #C92E9C
square
#C9A82E #2EC95A #2E4FC9 #C92E9C
split-complementary
#C9A82E #2E9CC9 #5A2EC9
monochromatic
#655517 #977E23 #C9A82E #D9BE5B #E5D28D
Accessibility & contrast
On white
2.30
#C9A82E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#C9A82E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9A82E
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9A82E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9A82E | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA515
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#DA9A91
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c9a82e; /* rgb */ color: rgb(201, 168, 46); /* oklch */ color: oklch(74.1% 0.138 92.9);
Tailwind
colors: {
custom: {
50: '#dec170',
500: '#c9a82e',
950: '#000000',
},
}SCSS
$custom: #c9a82e; $custom-light: #dec170; $custom-dark: #000000;
JSON
{
"hex": "#c9a82e",
"rgb": {
"r": 201,
"g": 168,
"b": 46
},
"hsl": {
"h": 47.226,
"s": 62.753,
"l": 48.431
},
"oklch": {
"l": 0.74067,
"c": 0.13772,
"h": 92.9
},
"luminance": 0.4062
}Semantic roles & 50–950 ramp
primary
#C9A82E
secondary
#8494CF
accent
#65E642
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B