#C9AA2E#C9AA2E
#C9AA2E is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.5% C 0.139 H 94.2°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AA2E |
|---|---|
| RGB | rgb(201, 170, 46) |
| HSL | hsl(48, 63%, 48%) |
| HSV | hsv(48, 77%, 79%) |
| CMYK | cmyk(0%, 15.4%, 77.1%, 21.2%) |
| CIE-LAB | lab(70.43, -1.14, 63.49) |
| CIE-LCH | lch(70.43, 63.50, 91.03°) |
| OKLab | oklab(74.48% -0.0101 0.1386) |
| OKLCH | oklch(74.48% 0.139 94.2) |
| XYZ | xyz(38.9574, 41.3665, 8.5168) |
| Luminance | 0.4136 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 3.54
Brownish Yellow
#C9B003
ΔE00 3.55
Mustard
#DBB42C
ΔE00 3.83
Mustard (survey)
#CEB301
ΔE00 3.95
Muddy Yellow
#BFAC05
ΔE00 4.16
Dark Yellow
#D5B60A
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AA2E #2E4DC9
analogous
#C95C2E #C9AA2E #9AC92E
triadic
#C9AA2E #2EC9AA #AA2EC9
tetradic
#C9AA2E #2EC95C #2E4DC9 #C92E9A
square
#C9AA2E #2EC95C #2E4DC9 #C92E9A
split-complementary
#C9AA2E #2E9AC9 #5C2EC9
monochromatic
#655617 #978023 #C9AA2E #D9C05B #E5D38D
Accessibility & contrast
On white
2.26
#C9AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#C9AA2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AA2E
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AA2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AA2E | 1.00 | 2.26 | 9.27 | 9.27 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA714
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#DA9C92
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c9aa2e; /* rgb */ color: rgb(201, 170, 46); /* oklch */ color: oklch(74.5% 0.139 94.2);
Tailwind
colors: {
custom: {
50: '#dec271',
500: '#c9aa2e',
950: '#000000',
},
}SCSS
$custom: #c9aa2e; $custom-light: #dec271; $custom-dark: #000000;
JSON
{
"hex": "#c9aa2e",
"rgb": {
"r": 201,
"g": 170,
"b": 46
},
"hsl": {
"h": 48,
"s": 62.753,
"l": 48.431
},
"oklch": {
"l": 0.74479,
"c": 0.13894,
"h": 94.2
},
"luminance": 0.41364
}Semantic roles & 50–950 ramp
primary
#C9AA2E
secondary
#8493CF
accent
#63E642
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B