#C9AE2E#C9AE2E
#C9AE2E is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.3% C 0.142 H 96.5°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AE2E |
|---|---|
| RGB | rgb(201, 174, 46) |
| HSL | hsl(50, 63%, 48%) |
| HSV | hsv(50, 77%, 79%) |
| CMYK | cmyk(0%, 13.4%, 77.1%, 21.2%) |
| CIE-LAB | lab(71.48, -3.25, 64.45) |
| CIE-LCH | lch(71.48, 64.53, 92.89°) |
| OKLab | oklab(75.31% -0.0161 0.1406) |
| OKLCH | oklch(75.31% 0.142 96.5) |
| XYZ | xyz(39.7187, 42.8890, 8.7706) |
| Luminance | 0.4289 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.46
Mustard (survey)
#CEB301
ΔE00 2.91
Muddy Yellow
#BFAC05
ΔE00 3.15
Dark Yellow
#D5B60A
ΔE00 3.55
Mustard
#DBB42C
ΔE00 3.92
Burnt Yellow
#D5AB09
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AE2E #2E49C9
analogous
#C9602E #C9AE2E #96C92E
triadic
#C9AE2E #2EC9AE #AE2EC9
tetradic
#C9AE2E #2EC960 #2E49C9 #C92E96
square
#C9AE2E #2EC960 #2E49C9 #C92E96
split-complementary
#C9AE2E #2E96C9 #602EC9
monochromatic
#655817 #978323 #C9AE2E #D9C35B #E5D58D
Accessibility & contrast
On white
2.19
#C9AE2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#C9AE2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AE2E
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AE2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AE2E | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA12
Deuteranopia (green-blind)
#C7B337
Tritanopia (blue-blind)
#D9A096
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c9ae2e; /* rgb */ color: rgb(201, 174, 46); /* oklch */ color: oklch(75.3% 0.142 96.5);
Tailwind
colors: {
custom: {
50: '#dec571',
500: '#c9ae2e',
950: '#000000',
},
}SCSS
$custom: #c9ae2e; $custom-light: #dec571; $custom-dark: #000000;
JSON
{
"hex": "#c9ae2e",
"rgb": {
"r": 201,
"g": 174,
"b": 46
},
"hsl": {
"h": 49.548,
"s": 62.753,
"l": 48.431
},
"oklch": {
"l": 0.75308,
"c": 0.14155,
"h": 96.5
},
"luminance": 0.42887
}Semantic roles & 50–950 ramp
primary
#C9AE2E
secondary
#8491CF
accent
#5FE642
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B