#C9A428#C9A428
#C9A428 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 73.2% C 0.139 H 90.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #C9A428 |
|---|---|
| RGB | rgb(201, 164, 40) |
| HSL | hsl(46, 67%, 47%) |
| HSV | hsv(46, 80%, 79%) |
| CMYK | cmyk(0%, 18.4%, 80.1%, 21.2%) |
| CIE-LAB | lab(68.84, 1.83, 64.04) |
| CIE-LCH | lch(68.84, 64.06, 88.36°) |
| OKLab | oklab(73.21% -0.0022 0.1385) |
| OKLCH | oklch(73.21% 0.139 90.9) |
| XYZ | xyz(37.7481, 39.1241, 7.5706) |
| Luminance | 0.3912 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocre
#C69C04
ΔE00 2.72
Ocher
#BF9B0C
ΔE00 2.90
Yellow Ochre
#CB9D06
ΔE00 3.04
Burnt Yellow
#D5AB09
ΔE00 3.25
Goldenrod
#DAA520
ΔE00 4.44
Mustard
#DBB42C
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9A428 #284DC9
analogous
#C95328 #C9A428 #9EC928
triadic
#C9A428 #28C9A4 #A428C9
tetradic
#C9A428 #28C953 #284DC9 #C9289E
square
#C9A428 #28C953 #284DC9 #C9289E
split-complementary
#C9A428 #289EC9 #5328C9
monochromatic
#635114 #967A1E #C9A428 #DDBD52 #E7D085
Accessibility & contrast
On white
2.38
#C9A428 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#C9A428 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9A428
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9A428 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9A428 | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A207
Deuteranopia (green-blind)
#C0AC30
Tritanopia (blue-blind)
#DA968D
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #c9a428; /* rgb */ color: rgb(201, 164, 40); /* oklch */ color: oklch(73.2% 0.139 90.9);
Tailwind
colors: {
custom: {
50: '#debe6d',
500: '#c9a428',
950: '#000000',
},
}SCSS
$custom: #c9a428; $custom-light: #debe6d; $custom-dark: #000000;
JSON
{
"hex": "#c9a428",
"rgb": {
"r": 201,
"g": 164,
"b": 40
},
"hsl": {
"h": 46.211,
"s": 66.805,
"l": 47.255
},
"oklch": {
"l": 0.73213,
"c": 0.13852,
"h": 90.9
},
"luminance": 0.39122
}Semantic roles & 50–950 ramp
primary
#C9A428
secondary
#7D90D0
accent
#66EA3E
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161208
muted
#84817B