#C0CB42#C0CB42
#C0CB42 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.9% C 0.157 H 113.8°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CB42 |
|---|---|
| RGB | rgb(192, 203, 66) |
| HSL | hsl(65, 57%, 53%) |
| HSV | hsv(65, 67%, 80%) |
| CMYK | cmyk(5.4%, 0%, 67.5%, 20.4%) |
| CIE-LAB | lab(78.64, -20.93, 63.91) |
| CIE-LCH | lch(78.64, 67.25, 108.13°) |
| OKLab | oklab(80.87% -0.0634 0.1434) |
| OKLCH | oklch(80.87% 0.157 113.8) |
| XYZ | xyz(44.0787, 54.3125, 13.3146) |
| Luminance | 0.5431 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.51
Bile
#B5C306
ΔE00 3.62
Green Yellow
#B5CE08
ΔE00 3.82
Snot
#ACBB0D
ΔE00 4.92
Pea
#A4BF20
ΔE00 5.13
Puke Yellow
#C2BE0E
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CB42 #4D42CB
analogous
#CB9242 #C0CB42 #7BCB42
triadic
#C0CB42 #42C0CB #CB42C0
tetradic
#C0CB42 #42CB92 #4D42CB #CB427B
square
#C0CB42 #42CB92 #4D42CB #CB427B
split-complementary
#C0CB42 #427BCB #9242CB
monochromatic
#6C7320 #99A32D #C0CB42 #D0D872 #E0E5A2
Accessibility & contrast
On white
1.77
#C0CB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#C0CB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CB42
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CB42 | 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)
#DAC12D
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#CCBFB0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #c0cb42; /* rgb */ color: rgb(192, 203, 66); /* oklch */ color: oklch(80.9% 0.157 113.8);
Tailwind
colors: {
custom: {
50: '#d6da7e',
500: '#c0cb42',
950: '#000000',
},
}SCSS
$custom: #c0cb42; $custom-light: #d6da7e; $custom-dark: #000000;
JSON
{
"hex": "#c0cb42",
"rgb": {
"r": 192,
"g": 203,
"b": 66
},
"hsl": {
"h": 64.818,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.8087,
"c": 0.15675,
"h": 113.8
},
"luminance": 0.54312
}Semantic roles & 50–950 ramp
primary
#C0CB42
secondary
#3B357C
accent
#48E054
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D