#CCF97E#CCF97E
#CCF97E is a very light, vivid yellow-green. Relative luminance 0.821; OKLCH L 92.5% C 0.159 H 125.9°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CCF97E |
|---|---|
| RGB | rgb(204, 249, 126) |
| HSL | hsl(82, 91%, 74%) |
| HSV | hsv(82, 49%, 98%) |
| CMYK | cmyk(18.1%, 0%, 49.4%, 2.4%) |
| CIE-LAB | lab(92.62, -33.28, 53.90) |
| CIE-LCH | lch(92.62, 63.35, 121.69°) |
| OKLab | oklab(92.48% -0.0931 0.1285) |
| OKLCH | oklch(92.48% 0.159 125.9) |
| XYZ | xyz(62.5433, 82.0944, 32.2854) |
| Luminance | 0.8209 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Yellow Green
#CCFD7F
ΔE00 0.93
Light Pea Green
#C4FE82
ΔE00 2.21
Pale Lime
#BEFD73
ΔE00 2.76
Light Yellowish Green
#C2FF89
ΔE00 3.10
Pistachio (survey)
#C0FA8B
ΔE00 3.26
Pear
#CBF85F
ΔE00 3.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCF97E #AB7EF9
analogous
#F9E87E #CCF97E #8EF97E
triadic
#CCF97E #7ECCF9 #F97ECC
tetradic
#CCF97E #7EF9E8 #AB7EF9 #F97E8E
square
#CCF97E #7EF9E8 #AB7EF9 #F97E8E
split-complementary
#CCF97E #7E8EF9 #E87EF9
monochromatic
#9DF10B #B5F644 #CCF97E #E3FCB8 #F3FEE2
Accessibility & contrast
On white
1.21
#CCF97E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.42
#CCF97E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCF97E
17.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCF97E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCF97E | 1.00 | 1.21 | 17.42 | 17.42 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB73
Deuteranopia (green-blind)
#FEE985
Tritanopia (blue-blind)
#D3EFDD
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ccf97e; /* rgb */ color: rgb(204, 249, 126); /* oklch */ color: oklch(92.5% 0.159 125.9);
Tailwind
colors: {
custom: {
50: '#defba6',
500: '#ccf97e',
950: '#000000',
},
}SCSS
$custom: #ccf97e; $custom-light: #defba6; $custom-dark: #000000;
JSON
{
"hex": "#ccf97e",
"rgb": {
"r": 204,
"g": 249,
"b": 126
},
"hsl": {
"h": 81.951,
"s": 91.111,
"l": 73.529
},
"oklch": {
"l": 0.92483,
"c": 0.15867,
"h": 125.9
},
"luminance": 0.82095
}Semantic roles & 50–950 ramp
primary
#CCF97E
secondary
#7A45D6
accent
#00E654
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580