#C9A22A#C9A22A
#C9A22A is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.8% C 0.137 H 89.5°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C9A22A |
|---|---|
| RGB | rgb(201, 162, 42) |
| HSL | hsl(45, 65%, 48%) |
| HSV | hsv(45, 79%, 79%) |
| CMYK | cmyk(0%, 19.4%, 79.1%, 21.2%) |
| CIE-LAB | lab(68.33, 2.97, 62.93) |
| CIE-LCH | lch(68.33, 63.00, 87.30°) |
| OKLab | oklab(72.82% 0.0012 0.1365) |
| OKLCH | oklch(72.82% 0.137 89.5) |
| XYZ | xyz(37.4279, 38.4278, 7.6360) |
| Luminance | 0.3842 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocre
#C69C04
ΔE00 2.35
Yellow Ochre
#CB9D06
ΔE00 2.53
Ocher
#BF9B0C
ΔE00 2.80
Burnt Yellow
#D5AB09
ΔE00 3.73
Goldenrod
#DAA520
ΔE00 4.03
Yellow Brown
#B79400
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9A22A #2A51C9
analogous
#C9522A #C9A22A #A0C92A
triadic
#C9A22A #2AC9A2 #A22AC9
tetradic
#C9A22A #2AC952 #2A51C9 #C92AA0
square
#C9A22A #2AC952 #2A51C9 #C92AA0
split-complementary
#C9A22A #2AA0C9 #522AC9
monochromatic
#645015 #96791F #C9A22A #DBBA55 #E6CF87
Accessibility & contrast
On white
2.42
#C9A22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.68
#C9A22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9A22A
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9A22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9A22A | 1.00 | 2.42 | 8.68 | 8.68 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A00F
Deuteranopia (green-blind)
#BFAB31
Tritanopia (blue-blind)
#DA938B
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c9a22a; /* rgb */ color: rgb(201, 162, 42); /* oklch */ color: oklch(72.8% 0.137 89.5);
Tailwind
colors: {
custom: {
50: '#debd6e',
500: '#c9a22a',
950: '#000000',
},
}SCSS
$custom: #c9a22a; $custom-light: #debd6e; $custom-dark: #000000;
JSON
{
"hex": "#c9a22a",
"rgb": {
"r": 201,
"g": 162,
"b": 42
},
"hsl": {
"h": 45.283,
"s": 65.432,
"l": 47.647
},
"oklch": {
"l": 0.72817,
"c": 0.13654,
"h": 89.5
},
"luminance": 0.38425
}Semantic roles & 50–950 ramp
primary
#C9A22A
secondary
#7F93D0
accent
#69E83F
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161208
muted
#84817B