#C0CB40#C0CB40
#C0CB40 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.9% C 0.158 H 113.8°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CB40 |
|---|---|
| RGB | rgb(192, 203, 64) |
| HSL | hsl(65, 57%, 52%) |
| HSV | hsv(65, 68%, 80%) |
| CMYK | cmyk(5.4%, 0%, 68.5%, 20.4%) |
| CIE-LAB | lab(78.63, -21.04, 64.65) |
| CIE-LCH | lch(78.63, 67.99, 108.03°) |
| OKLab | oklab(80.86% -0.0639 0.1446) |
| OKLCH | oklch(80.86% 0.158 113.8) |
| XYZ | xyz(44.0208, 54.2894, 13.0094) |
| Luminance | 0.5429 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.35
Bile
#B5C306
ΔE00 3.47
Green Yellow
#B5CE08
ΔE00 3.69
Snot
#ACBB0D
ΔE00 4.84
Pea
#A4BF20
ΔE00 5.10
Puke Yellow
#C2BE0E
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CB40 #4B40CB
analogous
#CB9040 #C0CB40 #7BCB40
triadic
#C0CB40 #40C0CB #CB40C0
tetradic
#C0CB40 #40CB90 #4B40CB #CB407B
square
#C0CB40 #40CB90 #4B40CB #CB407B
split-complementary
#C0CB40 #407BCB #9040CB
monochromatic
#6B721F #98A22C #C0CB40 #D0D870 #E0E5A0
Accessibility & contrast
On white
1.77
#C0CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#C0CB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CB40
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CB40 | 1.00 | 1.77 | 11.86 | 11.86 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC12A
Deuteranopia (green-blind)
#D9C44A
Tritanopia (blue-blind)
#CCBFAF
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #c0cb40; /* rgb */ color: rgb(192, 203, 64); /* oklch */ color: oklch(80.9% 0.158 113.8);
Tailwind
colors: {
custom: {
50: '#d6da7d',
500: '#c0cb40',
950: '#000000',
},
}SCSS
$custom: #c0cb40; $custom-light: #d6da7d; $custom-dark: #000000;
JSON
{
"hex": "#c0cb40",
"rgb": {
"r": 192,
"g": 203,
"b": 64
},
"hsl": {
"h": 64.748,
"s": 57.202,
"l": 52.353
},
"oklch": {
"l": 0.80855,
"c": 0.15809,
"h": 113.8
},
"luminance": 0.54289
}Semantic roles & 50–950 ramp
primary
#C0CB40
secondary
#3A357B
accent
#47E053
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D