#C9B02F#C9B02F
#C9B02F is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.7% C 0.142 H 97.6°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #C9B02F |
|---|---|
| RGB | rgb(201, 176, 47) |
| HSL | hsl(50, 62%, 49%) |
| HSV | hsv(50, 77%, 79%) |
| CMYK | cmyk(0%, 12.4%, 76.6%, 21.2%) |
| CIE-LAB | lab(72.01, -4.26, 64.60) |
| CIE-LCH | lch(72.01, 64.75, 93.78°) |
| OKLab | oklab(75.73% -0.0189 0.1412) |
| OKLCH | oklch(75.73% 0.142 97.6) |
| XYZ | xyz(40.1279, 43.6755, 9.0054) |
| Luminance | 0.4367 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.25
Mustard (survey)
#CEB301
ΔE00 2.68
Muddy Yellow
#BFAC05
ΔE00 2.90
Dark Yellow
#D5B60A
ΔE00 3.41
Mustard
#DBB42C
ΔE00 4.18
Mustard Yellow
#D2BD0A
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9B02F #2F48C9
analogous
#C9632F #C9B02F #95C92F
triadic
#C9B02F #2FC9B0 #B02FC9
tetradic
#C9B02F #2FC963 #2F48C9 #C92F95
square
#C9B02F #2FC963 #2F48C9 #C92F95
split-complementary
#C9B02F #2F95C9 #632FC9
monochromatic
#665918 #978523 #C9B02F #D9C55C #E5D68E
Accessibility & contrast
On white
2.16
#C9B02F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#C9B02F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9B02F
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9B02F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9B02F | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC13
Deuteranopia (green-blind)
#C9B438
Tritanopia (blue-blind)
#D9A297
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c9b02f; /* rgb */ color: rgb(201, 176, 47); /* oklch */ color: oklch(75.7% 0.142 97.6);
Tailwind
colors: {
custom: {
50: '#dec772',
500: '#c9b02f',
950: '#000000',
},
}SCSS
$custom: #c9b02f; $custom-light: #dec772; $custom-dark: #000000;
JSON
{
"hex": "#c9b02f",
"rgb": {
"r": 201,
"g": 176,
"b": 47
},
"hsl": {
"h": 50.26,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.7573,
"c": 0.1424,
"h": 97.6
},
"luminance": 0.43673
}Semantic roles & 50–950 ramp
primary
#C9B02F
secondary
#8591CF
accent
#5DE543
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B