#C9AF2F#C9AF2F
#C9AF2F is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.142 H 97.0°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AF2F |
|---|---|
| RGB | rgb(201, 175, 47) |
| HSL | hsl(50, 62%, 49%) |
| HSV | hsv(50, 77%, 79%) |
| CMYK | cmyk(0%, 12.9%, 76.6%, 21.2%) |
| CIE-LAB | lab(71.75, -3.74, 64.36) |
| CIE-LCH | lch(71.75, 64.47, 93.33°) |
| OKLab | oklab(75.52% -0.0174 0.1406) |
| OKLCH | oklch(75.52% 0.142 97) |
| XYZ | xyz(39.9325, 43.2848, 8.9402) |
| Luminance | 0.4328 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.37
Mustard (survey)
#CEB301
ΔE00 2.81
Muddy Yellow
#BFAC05
ΔE00 3.03
Dark Yellow
#D5B60A
ΔE00 3.49
Mustard
#DBB42C
ΔE00 4.04
Gold (survey)
#DBB40C
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AF2F #2F49C9
analogous
#C9622F #C9AF2F #96C92F
triadic
#C9AF2F #2FC9AF #AF2FC9
tetradic
#C9AF2F #2FC962 #2F49C9 #C92F96
square
#C9AF2F #2FC962 #2F49C9 #C92F96
split-complementary
#C9AF2F #2F96C9 #622FC9
monochromatic
#665918 #978423 #C9AF2F #D9C45C #E5D68E
Accessibility & contrast
On white
2.17
#C9AF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#C9AF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AF2F
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AF2F | 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)
#C1AB14
Deuteranopia (green-blind)
#C8B338
Tritanopia (blue-blind)
#D9A197
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c9af2f; /* rgb */ color: rgb(201, 175, 47); /* oklch */ color: oklch(75.5% 0.142 97.0);
Tailwind
colors: {
custom: {
50: '#dec672',
500: '#c9af2f',
950: '#000000',
},
}SCSS
$custom: #c9af2f; $custom-light: #dec672; $custom-dark: #000000;
JSON
{
"hex": "#c9af2f",
"rgb": {
"r": 201,
"g": 175,
"b": 47
},
"hsl": {
"h": 49.87,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.75522,
"c": 0.1417,
"h": 97
},
"luminance": 0.43283
}Semantic roles & 50–950 ramp
primary
#C9AF2F
secondary
#8591CF
accent
#5EE543
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B