#C9A830#C9A830
#C9A830 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.1% C 0.137 H 92.8°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C9A830 |
|---|---|
| RGB | rgb(201, 168, 48) |
| HSL | hsl(47, 61%, 49%) |
| HSV | hsv(47, 76%, 79%) |
| CMYK | cmyk(0%, 16.4%, 76.1%, 21.2%) |
| CIE-LAB | lab(69.92, 0.00, 62.31) |
| CIE-LCH | lch(69.92, 62.31, 90.00°) |
| OKLab | oklab(74.08% -0.0066 0.1365) |
| OKLCH | oklch(74.08% 0.137 92.8) |
| XYZ | xyz(38.6257, 40.6385, 8.6053) |
| Luminance | 0.4064 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 3.48
Ocher
#BF9B0C
ΔE00 3.95
Mustard
#DBB42C
ΔE00 4.06
Ocre
#C69C04
ΔE00 4.14
Brownish Yellow
#C9B003
ΔE00 4.36
Yellow Ochre
#CB9D06
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9A830 #3051C9
analogous
#C95C30 #C9A830 #9EC930
triadic
#C9A830 #30C9A8 #A830C9
tetradic
#C9A830 #30C95C #3051C9 #C9309E
square
#C9A830 #30C95C #3051C9 #C9309E
split-complementary
#C9A830 #309EC9 #5C30C9
monochromatic
#665518 #987F24 #C9A830 #D8BE5E #E4D28F
Accessibility & contrast
On white
2.30
#C9A830 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#C9A830 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9A830
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9A830 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9A830 | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA519
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#DA9A91
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c9a830; /* rgb */ color: rgb(201, 168, 48); /* oklch */ color: oklch(74.1% 0.137 92.8);
Tailwind
colors: {
custom: {
50: '#dec171',
500: '#c9a830',
950: '#000000',
},
}SCSS
$custom: #c9a830; $custom-light: #dec171; $custom-dark: #000000;
JSON
{
"hex": "#c9a830",
"rgb": {
"r": 201,
"g": 168,
"b": 48
},
"hsl": {
"h": 47.059,
"s": 61.446,
"l": 48.824
},
"oklch": {
"l": 0.7408,
"c": 0.13662,
"h": 92.8
},
"luminance": 0.40636
}Semantic roles & 50–950 ramp
primary
#C9A830
secondary
#8696CF
accent
#66E543
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B