#C9AF33#C9AF33
#C9AF33 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.139 H 96.8°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AF33 |
|---|---|
| RGB | rgb(201, 175, 51) |
| HSL | hsl(50, 60%, 49%) |
| HSV | hsv(50, 75%, 79%) |
| CMYK | cmyk(0%, 12.9%, 74.6%, 21.2%) |
| CIE-LAB | lab(71.77, -3.57, 62.98) |
| CIE-LCH | lch(71.77, 63.08, 93.25°) |
| OKLab | oklab(75.55% -0.0165 0.1385) |
| OKLCH | oklch(75.55% 0.139 96.8) |
| XYZ | xyz(40.0170, 43.3186, 9.3849) |
| Luminance | 0.4332 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.73
Mustard (survey)
#CEB301
ΔE00 3.14
Muddy Yellow
#BFAC05
ΔE00 3.30
Dark Yellow
#D5B60A
ΔE00 3.75
Mustard
#DBB42C
ΔE00 4.08
Gold (survey)
#DBB40C
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AF33 #334DC9
analogous
#C96433 #C9AF33 #98C933
triadic
#C9AF33 #33C9AF #AF33C9
tetradic
#C9AF33 #33C964 #334DC9 #C93398
square
#C9AF33 #33C964 #334DC9 #C93398
split-complementary
#C9AF33 #3398C9 #6433C9
monochromatic
#675A1A #988527 #C9AF33 #D7C362 #E4D693
Accessibility & contrast
On white
2.17
#C9AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#C9AF33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AF33
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AF33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AF33 | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB1C
Deuteranopia (green-blind)
#C8B33B
Tritanopia (blue-blind)
#D9A197
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c9af33; /* rgb */ color: rgb(201, 175, 51); /* oklch */ color: oklch(75.5% 0.139 96.8);
Tailwind
colors: {
custom: {
50: '#ddc674',
500: '#c9af33',
950: '#000000',
},
}SCSS
$custom: #c9af33; $custom-light: #ddc674; $custom-dark: #000000;
JSON
{
"hex": "#c9af33",
"rgb": {
"r": 201,
"g": 175,
"b": 51
},
"hsl": {
"h": 49.6,
"s": 59.524,
"l": 49.412
},
"oklch": {
"l": 0.75547,
"c": 0.13946,
"h": 96.8
},
"luminance": 0.43316
}Semantic roles & 50–950 ramp
primary
#C9AF33
secondary
#8995CF
accent
#60E345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B