#C9AC2E#C9AC2E
#C9AC2E is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.9% C 0.140 H 95.4°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AC2E |
|---|---|
| RGB | rgb(201, 172, 46) |
| HSL | hsl(49, 63%, 48%) |
| HSV | hsv(49, 77%, 79%) |
| CMYK | cmyk(0%, 14.4%, 77.1%, 21.2%) |
| CIE-LAB | lab(70.95, -2.20, 63.97) |
| CIE-LCH | lch(70.95, 64.01, 91.97°) |
| OKLab | oklab(74.89% -0.0131 0.1396) |
| OKLCH | oklch(74.89% 0.14 95.4) |
| XYZ | xyz(39.3352, 42.1220, 8.6427) |
| Luminance | 0.4212 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.95
Mustard (survey)
#CEB301
ΔE00 3.38
Muddy Yellow
#BFAC05
ΔE00 3.60
Mustard
#DBB42C
ΔE00 3.80
Burnt Yellow
#D5AB09
ΔE00 3.86
Dark Yellow
#D5B60A
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AC2E #2E4BC9
analogous
#C95E2E #C9AC2E #98C92E
triadic
#C9AC2E #2EC9AC #AC2EC9
tetradic
#C9AC2E #2EC95E #2E4BC9 #C92E98
square
#C9AC2E #2EC95E #2E4BC9 #C92E98
split-complementary
#C9AC2E #2E98C9 #5E2EC9
monochromatic
#655717 #978123 #C9AC2E #D9C25B #E5D48D
Accessibility & contrast
On white
2.23
#C9AC2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#C9AC2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AC2E
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AC2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AC2E | 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)
#BEA813
Deuteranopia (green-blind)
#C6B136
Tritanopia (blue-blind)
#D99E94
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c9ac2e; /* rgb */ color: rgb(201, 172, 46); /* oklch */ color: oklch(74.9% 0.140 95.4);
Tailwind
colors: {
custom: {
50: '#dec471',
500: '#c9ac2e',
950: '#000000',
},
}SCSS
$custom: #c9ac2e; $custom-light: #dec471; $custom-dark: #000000;
JSON
{
"hex": "#c9ac2e",
"rgb": {
"r": 201,
"g": 172,
"b": 46
},
"hsl": {
"h": 48.774,
"s": 62.753,
"l": 48.431
},
"oklch": {
"l": 0.74893,
"c": 0.14021,
"h": 95.4
},
"luminance": 0.4212
}Semantic roles & 50–950 ramp
primary
#C9AC2E
secondary
#8492CF
accent
#61E642
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B