#C9AB2F#C9AB2F
#C9AB2F is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.7% C 0.139 H 94.7°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AB2F |
|---|---|
| RGB | rgb(201, 171, 47) |
| HSL | hsl(48, 62%, 49%) |
| HSV | hsv(48, 77%, 79%) |
| CMYK | cmyk(0%, 14.9%, 76.6%, 21.2%) |
| CIE-LAB | lab(70.70, -1.63, 63.39) |
| CIE-LCH | lch(70.70, 63.41, 91.47°) |
| OKLab | oklab(74.69% -0.0114 0.1386) |
| OKLCH | oklch(74.69% 0.139 94.7) |
| XYZ | xyz(39.1655, 41.7508, 8.6846) |
| Luminance | 0.4175 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.31
Burnt Yellow
#D5AB09
ΔE00 3.72
Mustard (survey)
#CEB301
ΔE00 3.73
Mustard
#DBB42C
ΔE00 3.81
Muddy Yellow
#BFAC05
ΔE00 3.93
Dark Yellow
#D5B60A
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AB2F #2F4DC9
analogous
#C95E2F #C9AB2F #9AC92F
triadic
#C9AB2F #2FC9AB #AB2FC9
tetradic
#C9AB2F #2FC95E #2F4DC9 #C92F9A
square
#C9AB2F #2FC95E #2F4DC9 #C92F9A
split-complementary
#C9AB2F #2F9AC9 #5E2FC9
monochromatic
#665718 #978123 #C9AB2F #D9C15C #E5D48E
Accessibility & contrast
On white
2.25
#C9AB2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#C9AB2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AB2F
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AB2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AB2F | 1.00 | 2.25 | 9.35 | 9.35 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA816
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#D99D93
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c9ab2f; /* rgb */ color: rgb(201, 171, 47); /* oklch */ color: oklch(74.7% 0.139 94.7);
Tailwind
colors: {
custom: {
50: '#dec371',
500: '#c9ab2f',
950: '#000000',
},
}SCSS
$custom: #c9ab2f; $custom-light: #dec371; $custom-dark: #000000;
JSON
{
"hex": "#c9ab2f",
"rgb": {
"r": 201,
"g": 171,
"b": 47
},
"hsl": {
"h": 48.312,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.74692,
"c": 0.13903,
"h": 94.7
},
"luminance": 0.41749
}Semantic roles & 50–950 ramp
primary
#C9AB2F
secondary
#8593CF
accent
#62E543
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B