#C2CC5F#C2CC5F
#C2CC5F is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.5% C 0.134 H 113.7°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CC5F |
|---|---|
| RGB | rgb(194, 204, 95) |
| HSL | hsl(66, 52%, 59%) |
| HSV | hsv(66, 53%, 80%) |
| CMYK | cmyk(4.9%, 0%, 53.4%, 20%) |
| CIE-LAB | lab(79.32, -18.55, 52.35) |
| CIE-LCH | lch(79.32, 55.54, 109.51°) |
| OKLab | oklab(81.53% -0.0539 0.1226) |
| OKLCH | oklch(81.53% 0.134 113.7) |
| XYZ | xyz(45.9074, 55.4820, 19.1150) |
| Luminance | 0.5548 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.46
Greenish Tan
#BCCB7A
ΔE00 4.82
Light Olive
#ACBF69
ΔE00 5.76
Light Olive Green
#A4BE5C
ΔE00 6.17
Pale Olive
#B9CC81
ΔE00 6.40
Baby Puke Green
#B6C406
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CC5F #695FCC
analogous
#CC9F5F #C2CC5F #8BCC5F
triadic
#C2CC5F #5FC2CC #CC5FC2
tetradic
#C2CC5F #5FCC9F #695FCC #CC5F8B
square
#C2CC5F #5FCC9F #695FCC #CC5F8B
split-complementary
#C2CC5F #5F8BCC #9F5FCC
monochromatic
#7E862B #A9B439 #C2CC5F #D4DB8D #E5EABC
Accessibility & contrast
On white
1.74
#C2CC5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.10
#C2CC5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CC5F
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CC5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CC5F | 1.00 | 1.74 | 12.10 | 12.10 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C354
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#CDC2B4
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #c2cc5f; /* rgb */ color: rgb(194, 204, 95); /* oklch */ color: oklch(81.5% 0.134 113.7);
Tailwind
colors: {
custom: {
50: '#d6db90',
500: '#c2cc5f',
950: '#000000',
},
}SCSS
$custom: #c2cc5f; $custom-light: #d6db90; $custom-dark: #000000;
JSON
{
"hex": "#c2cc5f",
"rgb": {
"r": 194,
"g": 204,
"b": 95
},
"hsl": {
"h": 65.505,
"s": 51.659,
"l": 58.627
},
"oklch": {
"l": 0.81527,
"c": 0.13389,
"h": 113.7
},
"luminance": 0.55481
}Semantic roles & 50–950 ramp
primary
#C2CC5F
secondary
#49428D
accent
#4DDB5A
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15150D
muted
#84847F