#C9CC2F#C9CC2F
#C9CC2F is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.7% C 0.167 H 110.7°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C9CC2F |
|---|---|
| RGB | rgb(201, 204, 47) |
| HSL | hsl(61, 63%, 49%) |
| HSV | hsv(61, 77%, 80%) |
| CMYK | cmyk(1.5%, 0%, 77%, 20%) |
| CIE-LAB | lab(79.51, -18.54, 71.44) |
| CIE-LCH | lch(79.51, 73.81, 104.55°) |
| OKLab | oklab(81.7% -0.0589 0.1558) |
| OKLCH | oklch(81.7% 0.167 110.7) |
| XYZ | xyz(46.1950, 55.8098, 11.0277) |
| Luminance | 0.5581 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 3.41
Vomit Yellow
#C7C10C
ΔE00 3.51
Baby Puke Green
#B6C406
ΔE00 3.52
Bile
#B5C306
ΔE00 3.70
Puke Yellow
#C2BE0E
ΔE00 3.82
Piss Yellow
#DDD618
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9CC2F #322FCC
analogous
#CC802F #C9CC2F #7BCC2F
triadic
#C9CC2F #2FC9CC #CC2FC9
tetradic
#C9CC2F #2FCC80 #322FCC #CC2F7B
square
#C9CC2F #2FCC80 #322FCC #CC2F7B
split-complementary
#C9CC2F #2F7BCC #802FCC
monochromatic
#676918 #989A24 #C9CC2F #D8DA5E #E4E590
Accessibility & contrast
On white
1.73
#C9CC2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.16
#C9CC2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C9CC2F
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9CC2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C9CC2F | 1.00 | 1.73 | 12.16 | 12.16 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC300
Deuteranopia (green-blind)
#DEC73D
Tritanopia (blue-blind)
#D7BFAF
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c9cc2f; /* rgb */ color: rgb(201, 204, 47); /* oklch */ color: oklch(81.7% 0.167 110.7);
Tailwind
colors: {
custom: {
50: '#dddb75',
500: '#c9cc2f',
950: '#000000',
},
}SCSS
$custom: #c9cc2f; $custom-light: #dddb75; $custom-dark: #000000;
JSON
{
"hex": "#c9cc2f",
"rgb": {
"r": 201,
"g": 204,
"b": 47
},
"hsl": {
"h": 61.146,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.81697,
"c": 0.16652,
"h": 110.7
},
"luminance": 0.55808
}Semantic roles & 50–950 ramp
primary
#C9CC2F
secondary
#2E2D72
accent
#42E645
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D