#C9AF2E#C9AF2E
#C9AF2E is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.142 H 97.1°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AF2E |
|---|---|
| RGB | rgb(201, 175, 46) |
| HSL | hsl(50, 63%, 48%) |
| HSV | hsv(50, 77%, 79%) |
| CMYK | cmyk(0%, 12.9%, 77.1%, 21.2%) |
| CIE-LAB | lab(71.74, -3.78, 64.69) |
| CIE-LCH | lch(71.74, 64.80, 93.34°) |
| OKLab | oklab(75.52% -0.0176 0.1412) |
| OKLCH | oklch(75.52% 0.142 97.1) |
| XYZ | xyz(39.9126, 43.2768, 8.8352) |
| Luminance | 0.4328 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.29
Mustard (survey)
#CEB301
ΔE00 2.73
Muddy Yellow
#BFAC05
ΔE00 2.97
Dark Yellow
#D5B60A
ΔE00 3.43
Mustard
#DBB42C
ΔE00 4.03
Gold (survey)
#DBB40C
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AF2E #2E48C9
analogous
#C9612E #C9AF2E #96C92E
triadic
#C9AF2E #2EC9AF #AF2EC9
tetradic
#C9AF2E #2EC961 #2E48C9 #C92E96
square
#C9AF2E #2EC961 #2E48C9 #C92E96
split-complementary
#C9AF2E #2E96C9 #612EC9
monochromatic
#655817 #978423 #C9AF2E #D9C45B #E5D68D
Accessibility & contrast
On white
2.18
#C9AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#C9AF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AF2E
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AF2E | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB12
Deuteranopia (green-blind)
#C8B337
Tritanopia (blue-blind)
#D9A197
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c9af2e; /* rgb */ color: rgb(201, 175, 46); /* oklch */ color: oklch(75.5% 0.142 97.1);
Tailwind
colors: {
custom: {
50: '#dec671',
500: '#c9af2e',
950: '#000000',
},
}SCSS
$custom: #c9af2e; $custom-light: #dec671; $custom-dark: #000000;
JSON
{
"hex": "#c9af2e",
"rgb": {
"r": 201,
"g": 175,
"b": 46
},
"hsl": {
"h": 49.935,
"s": 62.753,
"l": 48.431
},
"oklch": {
"l": 0.75516,
"c": 0.14224,
"h": 97.1
},
"luminance": 0.43275
}Semantic roles & 50–950 ramp
primary
#C9AF2E
secondary
#8490CF
accent
#5DE642
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B