#C0CA42#C0CA42
#C0CA42 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.7% C 0.156 H 113.5°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CA42 |
|---|---|
| RGB | rgb(192, 202, 66) |
| HSL | hsl(64, 56%, 53%) |
| HSV | hsv(64, 67%, 79%) |
| CMYK | cmyk(5%, 0%, 67.3%, 20.8%) |
| CIE-LAB | lab(78.37, -20.43, 63.63) |
| CIE-LCH | lch(78.37, 66.83, 107.80°) |
| OKLab | oklab(80.65% -0.062 0.1428) |
| OKLCH | oklch(80.65% 0.156 113.5) |
| XYZ | xyz(43.8433, 53.8418, 13.2361) |
| Luminance | 0.5384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.46
Bile
#B5C306
ΔE00 3.55
Green Yellow
#B5CE08
ΔE00 4.00
Snot
#ACBB0D
ΔE00 4.79
Pea
#A4BF20
ΔE00 5.12
Puke Yellow
#C2BE0E
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CA42 #4C42CA
analogous
#CA9042 #C0CA42 #7CCA42
triadic
#C0CA42 #42C0CA #CA42C0
tetradic
#C0CA42 #42CA90 #4C42CA #CA427C
square
#C0CA42 #42CA90 #4C42CA #CA427C
split-complementary
#C0CA42 #427CCA #9042CA
monochromatic
#6C7220 #99A22D #C0CA42 #D0D772 #E0E5A2
Accessibility & contrast
On white
1.78
#C0CA42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.77
#C0CA42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CA42
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CA42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CA42 | 1.00 | 1.78 | 11.77 | 11.77 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C02E
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#CCBEAF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #c0ca42; /* rgb */ color: rgb(192, 202, 66); /* oklch */ color: oklch(80.7% 0.156 113.5);
Tailwind
colors: {
custom: {
50: '#d6da7e',
500: '#c0ca42',
950: '#000000',
},
}SCSS
$custom: #c0ca42; $custom-light: #d6da7e; $custom-dark: #000000;
JSON
{
"hex": "#c0ca42",
"rgb": {
"r": 192,
"g": 202,
"b": 66
},
"hsl": {
"h": 64.412,
"s": 56.198,
"l": 52.549
},
"oklch": {
"l": 0.8065,
"c": 0.15566,
"h": 113.5
},
"luminance": 0.53841
}Semantic roles & 50–950 ramp
primary
#C0CA42
secondary
#3B357B
accent
#48DF53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D