#C9AF2D#C9AF2D
#C9AF2D is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.143 H 97.2°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #C9AF2D |
|---|---|
| RGB | rgb(201, 175, 45) |
| HSL | hsl(50, 63%, 48%) |
| HSV | hsv(50, 78%, 79%) |
| CMYK | cmyk(0%, 12.9%, 77.6%, 21.2%) |
| CIE-LAB | lab(71.74, -3.82, 65.02) |
| CIE-LCH | lch(71.74, 65.13, 93.36°) |
| OKLab | oklab(75.51% -0.0178 0.1417) |
| OKLCH | oklch(75.51% 0.143 97.2) |
| XYZ | xyz(39.8931, 43.2691, 8.7326) |
| Luminance | 0.4327 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.20
Mustard (survey)
#CEB301
ΔE00 2.66
Muddy Yellow
#BFAC05
ΔE00 2.92
Dark Yellow
#D5B60A
ΔE00 3.38
Mustard
#DBB42C
ΔE00 4.03
Gold (survey)
#DBB40C
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9AF2D #2D47C9
analogous
#C9612D #C9AF2D #95C92D
triadic
#C9AF2D #2DC9AF #AF2DC9
tetradic
#C9AF2D #2DC961 #2D47C9 #C92D95
square
#C9AF2D #2DC961 #2D47C9 #C92D95
split-complementary
#C9AF2D #2D95C9 #612DC9
monochromatic
#655817 #978322 #C9AF2D #DAC459 #E5D68B
Accessibility & contrast
On white
2.18
#C9AF2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#C9AF2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9AF2D
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9AF2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9AF2D | 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)
#C1AB0F
Deuteranopia (green-blind)
#C8B336
Tritanopia (blue-blind)
#D9A196
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c9af2d; /* rgb */ color: rgb(201, 175, 45); /* oklch */ color: oklch(75.5% 0.143 97.2);
Tailwind
colors: {
custom: {
50: '#dec671',
500: '#c9af2d',
950: '#000000',
},
}SCSS
$custom: #c9af2d; $custom-light: #dec671; $custom-dark: #000000;
JSON
{
"hex": "#c9af2d",
"rgb": {
"r": 201,
"g": 175,
"b": 45
},
"hsl": {
"h": 50,
"s": 63.415,
"l": 48.235
},
"oklch": {
"l": 0.7551,
"c": 0.14276,
"h": 97.2
},
"luminance": 0.43267
}Semantic roles & 50–950 ramp
primary
#C9AF2D
secondary
#838FCF
accent
#5DE641
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B