#C9AC2F#C9AC2F
#C9AC2F is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.9% C 0.140 H 95.3°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AC2F |
|---|---|
| RGB | rgb(201, 172, 47) |
| HSL | hsl(49, 62%, 49%) |
| HSV | hsv(49, 77%, 79%) |
| CMYK | cmyk(0%, 14.4%, 76.6%, 21.2%) |
| CIE-LAB | lab(70.96, -2.16, 63.63) |
| CIE-LCH | lch(70.96, 63.67, 91.94°) |
| OKLab | oklab(74.9% -0.0129 0.1391) |
| OKLCH | oklch(74.9% 0.14 95.3) |
| XYZ | xyz(39.3551, 42.1300, 8.7478) |
| Luminance | 0.4213 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.02
Mustard (survey)
#CEB301
ΔE00 3.45
Muddy Yellow
#BFAC05
ΔE00 3.66
Mustard
#DBB42C
ΔE00 3.81
Burnt Yellow
#D5AB09
ΔE00 3.90
Dark Yellow
#D5B60A
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AC2F #2F4CC9
analogous
#C95F2F #C9AC2F #99C92F
triadic
#C9AC2F #2FC9AC #AC2FC9
tetradic
#C9AC2F #2FC95F #2F4CC9 #C92F99
square
#C9AC2F #2FC95F #2F4CC9 #C92F99
split-complementary
#C9AC2F #2F99C9 #5F2FC9
monochromatic
#665718 #978223 #C9AC2F #D9C15C #E5D48E
Accessibility & contrast
On white
2.23
#C9AC2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#C9AC2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AC2F
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AC2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AC2F | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA816
Deuteranopia (green-blind)
#C6B137
Tritanopia (blue-blind)
#D99E94
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c9ac2f; /* rgb */ color: rgb(201, 172, 47); /* oklch */ color: oklch(74.9% 0.140 95.3);
Tailwind
colors: {
custom: {
50: '#dec471',
500: '#c9ac2f',
950: '#000000',
},
}SCSS
$custom: #c9ac2f; $custom-light: #dec471; $custom-dark: #000000;
JSON
{
"hex": "#c9ac2f",
"rgb": {
"r": 201,
"g": 172,
"b": 47
},
"hsl": {
"h": 48.701,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.74899,
"c": 0.13968,
"h": 95.3
},
"luminance": 0.42128
}Semantic roles & 50–950 ramp
primary
#C9AC2F
secondary
#8593CF
accent
#61E543
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B