#C0CA40#C0CA40
#C0CA40 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.6% C 0.157 H 113.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CA40 |
|---|---|
| RGB | rgb(192, 202, 64) |
| HSL | hsl(64, 57%, 52%) |
| HSV | hsv(64, 68%, 79%) |
| CMYK | cmyk(5%, 0%, 68.3%, 20.8%) |
| CIE-LAB | lab(78.36, -20.55, 64.37) |
| CIE-LCH | lch(78.36, 67.57, 107.70°) |
| OKLab | oklab(80.64% -0.0625 0.144) |
| OKLCH | oklch(80.64% 0.157 113.5) |
| XYZ | xyz(43.7854, 53.8186, 12.9310) |
| Luminance | 0.5382 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.30
Bile
#B5C306
ΔE00 3.40
Green Yellow
#B5CE08
ΔE00 3.87
Snot
#ACBB0D
ΔE00 4.71
Pea
#A4BF20
ΔE00 5.10
Puke Yellow
#C2BE0E
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CA40 #4A40CA
analogous
#CA8F40 #C0CA40 #7BCA40
triadic
#C0CA40 #40C0CA #CA40C0
tetradic
#C0CA40 #40CA8F #4A40CA #CA407B
square
#C0CA40 #40CA8F #4A40CA #CA407B
split-complementary
#C0CA40 #407BCA #8F40CA
monochromatic
#6B701F #98A02C #C0CA40 #D0D770 #E0E5A0
Accessibility & contrast
On white
1.79
#C0CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.76
#C0CA40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CA40
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CA40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CA40 | 1.00 | 1.79 | 11.76 | 11.76 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C02A
Deuteranopia (green-blind)
#D8C34A
Tritanopia (blue-blind)
#CDBEAF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #c0ca40; /* rgb */ color: rgb(192, 202, 64); /* oklch */ color: oklch(80.6% 0.157 113.5);
Tailwind
colors: {
custom: {
50: '#d6da7d',
500: '#c0ca40',
950: '#000000',
},
}SCSS
$custom: #c0ca40; $custom-light: #d6da7d; $custom-dark: #000000;
JSON
{
"hex": "#c0ca40",
"rgb": {
"r": 192,
"g": 202,
"b": 64
},
"hsl": {
"h": 64.348,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.80635,
"c": 0.15701,
"h": 113.5
},
"luminance": 0.53818
}Semantic roles & 50–950 ramp
primary
#C0CA40
secondary
#3A357A
accent
#48E053
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D