#C2CC4F#C2CC4F
#C2CC4F is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.4% C 0.148 H 113.5°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CC4F |
|---|---|
| RGB | rgb(194, 204, 79) |
| HSL | hsl(65, 55%, 55%) |
| HSV | hsv(65, 61%, 80%) |
| CMYK | cmyk(4.9%, 0%, 61.3%, 20%) |
| CIE-LAB | lab(79.17, -19.78, 59.27) |
| CIE-LCH | lch(79.17, 62.49, 108.45°) |
| OKLab | oklab(81.36% -0.059 0.1354) |
| OKLCH | oklch(81.36% 0.148 113.5) |
| XYZ | xyz(45.2534, 55.2204, 15.6703) |
| Luminance | 0.5522 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.74
Bile
#B5C306
ΔE00 4.82
Green Yellow
#B5CE08
ΔE00 4.91
Greenish Beige
#C9D179
ΔE00 5.32
Pea
#A4BF20
ΔE00 5.80
Snot
#ACBB0D
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CC4F #594FCC
analogous
#CC974F #C2CC4F #83CC4F
triadic
#C2CC4F #4FC2CC #CC4FC2
tetradic
#C2CC4F #4FCC97 #594FCC #CC4F83
square
#C2CC4F #4FCC97 #594FCC #CC4F83
split-complementary
#C2CC4F #4F83CC #974FCC
monochromatic
#757D24 #A2AC32 #C2CC4F #D2DA7E #E3E7AE
Accessibility & contrast
On white
1.74
#C2CC4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.04
#C2CC4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CC4F
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CC4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CC4F | 1.00 | 1.74 | 12.04 | 12.04 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#DAC557
Tritanopia (blue-blind)
#CEC1B2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #c2cc4f; /* rgb */ color: rgb(194, 204, 79); /* oklch */ color: oklch(81.4% 0.148 113.5);
Tailwind
colors: {
custom: {
50: '#d7db86',
500: '#c2cc4f',
950: '#000000',
},
}SCSS
$custom: #c2cc4f; $custom-light: #d7db86; $custom-dark: #000000;
JSON
{
"hex": "#c2cc4f",
"rgb": {
"r": 194,
"g": 204,
"b": 79
},
"hsl": {
"h": 64.8,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.81359,
"c": 0.14773,
"h": 113.5
},
"luminance": 0.5522
}Semantic roles & 50–950 ramp
primary
#C2CC4F
secondary
#413B84
accent
#49DE55
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E