#C0CC2F#C0CC2F
#C0CC2F is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.0% C 0.169 H 114.1°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CC2F |
|---|---|
| RGB | rgb(192, 204, 47) |
| HSL | hsl(65, 63%, 49%) |
| HSV | hsv(65, 77%, 80%) |
| CMYK | cmyk(5.9%, 0%, 77%, 20%) |
| CIE-LAB | lab(78.81, -22.32, 70.55) |
| CIE-LCH | lch(78.81, 74.00, 107.56°) |
| OKLab | oklab(80.97% -0.0689 0.1542) |
| OKLCH | oklch(80.97% 0.169 114.1) |
| XYZ | xyz(43.8455, 54.5983, 10.9176) |
| Luminance | 0.5460 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.49
Bile
#B5C306
ΔE00 2.69
Green Yellow
#B5CE08
ΔE00 2.72
Snot
#ACBB0D
ΔE00 4.63
Puke Yellow
#C2BE0E
ΔE00 4.93
Vomit Yellow
#C7C10C
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CC2F #3B2FCC
analogous
#CC8A2F #C0CC2F #72CC2F
triadic
#C0CC2F #2FC0CC #CC2FC0
tetradic
#C0CC2F #2FCC8A #3B2FCC #CC2F72
square
#C0CC2F #2FCC8A #3B2FCC #CC2F72
split-complementary
#C0CC2F #2F72CC #8A2FCC
monochromatic
#626918 #919A24 #C0CC2F #D1DA5E #DFE590
Accessibility & contrast
On white
1.76
#C0CC2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.92
#C0CC2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CC2F
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CC2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CC2F | 1.00 | 1.76 | 11.92 | 11.92 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC200
Deuteranopia (green-blind)
#DBC43D
Tritanopia (blue-blind)
#CDC0AF
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #c0cc2f; /* rgb */ color: rgb(192, 204, 47); /* oklch */ color: oklch(81.0% 0.169 114.1);
Tailwind
colors: {
custom: {
50: '#d7db75',
500: '#c0cc2f',
950: '#000000',
},
}SCSS
$custom: #c0cc2f; $custom-light: #d7db75; $custom-dark: #000000;
JSON
{
"hex": "#c0cc2f",
"rgb": {
"r": 192,
"g": 204,
"b": 47
},
"hsl": {
"h": 64.586,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.80968,
"c": 0.1689,
"h": 114.1
},
"luminance": 0.54597
}Semantic roles & 50–950 ramp
primary
#C0CC2F
secondary
#322D72
accent
#42E64F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D