#C0CC3E#C0CC3E
#C0CC3E is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.1% C 0.160 H 114.2°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #C0CC3E |
|---|---|
| RGB | rgb(192, 204, 62) |
| HSL | hsl(65, 58%, 52%) |
| HSV | hsv(65, 70%, 80%) |
| CMYK | cmyk(5.9%, 0%, 69.6%, 20%) |
| CIE-LAB | lab(78.89, -21.64, 65.65) |
| CIE-LCH | lch(78.89, 69.12, 108.24°) |
| OKLab | oklab(81.06% -0.0657 0.1464) |
| OKLCH | oklch(81.06% 0.16 114.2) |
| XYZ | xyz(44.2018, 54.7408, 12.7940) |
| Luminance | 0.5474 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.29
Green Yellow
#B5CE08
ΔE00 3.39
Bile
#B5C306
ΔE00 3.43
Snot
#ACBB0D
ΔE00 4.92
Pea
#A4BF20
ΔE00 5.11
Puke Yellow
#C2BE0E
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0CC3E #4A3ECC
analogous
#CC913E #C0CC3E #79CC3E
triadic
#C0CC3E #3EC0CC #CC3EC0
tetradic
#C0CC3E #3ECC91 #4A3ECC #CC3E79
square
#C0CC3E #3ECC91 #4A3ECC #CC3E79
split-complementary
#C0CC3E #3E79CC #913ECC
monochromatic
#6B721E #98A22B #C0CC3E #D0D96E #E0E69F
Accessibility & contrast
On white
1.76
#C0CC3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.95
#C0CC3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0CC3E
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0CC3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0CC3E | 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)
#DBC226
Deuteranopia (green-blind)
#DAC549
Tritanopia (blue-blind)
#CCC0B0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #c0cc3e; /* rgb */ color: rgb(192, 204, 62); /* oklch */ color: oklch(81.1% 0.160 114.2);
Tailwind
colors: {
custom: {
50: '#d6db7c',
500: '#c0cc3e',
950: '#000000',
},
}SCSS
$custom: #c0cc3e; $custom-light: #d6db7c; $custom-dark: #000000;
JSON
{
"hex": "#c0cc3e",
"rgb": {
"r": 192,
"g": 204,
"b": 62
},
"hsl": {
"h": 65.07,
"s": 58.197,
"l": 52.157
},
"oklch": {
"l": 0.8106,
"c": 0.16046,
"h": 114.2
},
"luminance": 0.5474
}Semantic roles & 50–950 ramp
primary
#C0CC3E
secondary
#3A347B
accent
#46E153
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D