#C0CC40#C0CC40
#C0CC40 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.1% C 0.159 H 114.2°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CC40 |
|---|---|
| RGB | rgb(192, 204, 64) |
| HSL | hsl(65, 58%, 53%) |
| HSV | hsv(65, 69%, 80%) |
| CMYK | cmyk(5.9%, 0%, 68.6%, 20%) |
| CIE-LAB | lab(78.90, -21.53, 64.92) |
| CIE-LCH | lch(78.90, 68.40, 108.35°) |
| OKLab | oklab(81.08% -0.0652 0.1452) |
| OKLCH | oklch(81.08% 0.159 114.2) |
| XYZ | xyz(44.2577, 54.7632, 13.0884) |
| Luminance | 0.5476 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.44
Green Yellow
#B5CE08
ΔE00 3.52
Bile
#B5C306
ΔE00 3.56
Snot
#ACBB0D
ΔE00 4.99
Pea
#A4BF20
ΔE00 5.12
Puke Yellow
#C2BE0E
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CC40 #4C40CC
analogous
#CC9240 #C0CC40 #7ACC40
triadic
#C0CC40 #40C0CC #CC40C0
tetradic
#C0CC40 #40CC92 #4C40CC #CC407A
square
#C0CC40 #40CC92 #4C40CC #CC407A
split-complementary
#C0CC40 #407ACC #9240CC
monochromatic
#6C731F #99A32C #C0CC40 #D0D970 #E0E6A1
Accessibility & contrast
On white
1.76
#C0CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.95
#C0CC40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CC40
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CC40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CC40 | 1.00 | 1.76 | 11.95 | 11.95 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC22A
Deuteranopia (green-blind)
#DAC54A
Tritanopia (blue-blind)
#CCC0B0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #c0cc40; /* rgb */ color: rgb(192, 204, 64); /* oklch */ color: oklch(81.1% 0.159 114.2);
Tailwind
colors: {
custom: {
50: '#d6db7d',
500: '#c0cc40',
950: '#000000',
},
}SCSS
$custom: #c0cc40; $custom-light: #d6db7d; $custom-dark: #000000;
JSON
{
"hex": "#c0cc40",
"rgb": {
"r": 192,
"g": 204,
"b": 64
},
"hsl": {
"h": 65.143,
"s": 57.851,
"l": 52.549
},
"oklch": {
"l": 0.81075,
"c": 0.15918,
"h": 114.2
},
"luminance": 0.54762
}Semantic roles & 50–950 ramp
primary
#C0CC40
secondary
#3B347C
accent
#47E154
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D