#C9A92F#C9A92F
#C9A92F is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.3% C 0.138 H 93.5°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #C9A92F |
|---|---|
| RGB | rgb(201, 169, 47) |
| HSL | hsl(48, 62%, 49%) |
| HSV | hsv(48, 77%, 79%) |
| CMYK | cmyk(0%, 15.9%, 76.6%, 21.2%) |
| CIE-LAB | lab(70.18, -0.57, 62.90) |
| CIE-LCH | lch(70.18, 62.91, 90.52°) |
| OKLab | oklab(74.28% -0.0084 0.1375) |
| OKLCH | oklch(74.28% 0.138 93.5) |
| XYZ | xyz(38.7906, 41.0010, 8.5596) |
| Luminance | 0.4100 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 3.48
Mustard
#DBB42C
ΔE00 3.92
Brownish Yellow
#C9B003
ΔE00 3.95
Ocher
#BF9B0C
ΔE00 4.18
Mustard (survey)
#CEB301
ΔE00 4.34
Ocre
#C69C04
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9A92F #2F4FC9
analogous
#C95C2F #C9A92F #9CC92F
triadic
#C9A92F #2FC9A9 #A92FC9
tetradic
#C9A92F #2FC95C #2F4FC9 #C92F9C
square
#C9A92F #2FC95C #2F4FC9 #C92F9C
split-complementary
#C9A92F #2F9CC9 #5C2FC9
monochromatic
#665618 #977F23 #C9A92F #D9BF5C #E5D38E
Accessibility & contrast
On white
2.28
#C9A92F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#C9A92F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9A92F
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9A92F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9A92F | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA617
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#DA9B92
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c9a92f; /* rgb */ color: rgb(201, 169, 47); /* oklch */ color: oklch(74.3% 0.138 93.5);
Tailwind
colors: {
custom: {
50: '#dec271',
500: '#c9a92f',
950: '#000000',
},
}SCSS
$custom: #c9a92f; $custom-light: #dec271; $custom-dark: #000000;
JSON
{
"hex": "#c9a92f",
"rgb": {
"r": 201,
"g": 169,
"b": 47
},
"hsl": {
"h": 47.532,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.74279,
"c": 0.13777,
"h": 93.5
},
"luminance": 0.40999
}Semantic roles & 50–950 ramp
primary
#C9A92F
secondary
#8594CF
accent
#64E543
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B