#CCF299#CCF299
#CCF299 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.4% C 0.121 H 127.4°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CCF299 |
|---|---|
| RGB | rgb(204, 242, 153) |
| HSL | hsl(86, 77%, 77%) |
| HSV | hsv(86, 37%, 95%) |
| CMYK | cmyk(15.7%, 0%, 36.8%, 5.1%) |
| CIE-LAB | lab(91.07, -26.95, 38.99) |
| CIE-LCH | lch(91.07, 47.40, 124.65°) |
| OKLab | oklab(91.36% -0.0737 0.0962) |
| OKLCH | oklch(91.36% 0.121 127.4) |
| XYZ | xyz(62.4030, 78.6409, 42.0224) |
| Luminance | 0.7864 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Celery
#C1FD95
ΔE00 3.96
Pistachio (survey)
#C0FA8B
ΔE00 4.00
Tea Green
#BDF8A3
ΔE00 4.10
Washed Out Green
#BCF5A6
ΔE00 4.41
Light Light Green
#C8FFB0
ΔE00 4.70
Light Yellowish Green
#C2FF89
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCF299 #BF99F2
analogous
#F2EB99 #CCF299 #A0F299
triadic
#CCF299 #99CCF2 #F299CC
tetradic
#CCF299 #99F2EB #BF99F2 #F299A0
square
#CCF299 #99F2EB #BF99F2 #F299A0
split-complementary
#CCF299 #99A0F2 #EB99F2
monochromatic
#96E42C #B1EB63 #CCF299 #E7F9CF #F1FCE4
Accessibility & contrast
On white
1.26
#CCF299 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.73
#CCF299 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCF299
16.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCF299 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCF299 | 1.00 | 1.26 | 16.73 | 16.73 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FBE793
Deuteranopia (green-blind)
#F5E59E
Tritanopia (blue-blind)
#D0EADC
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #ccf299; /* rgb */ color: rgb(204, 242, 153); /* oklch */ color: oklch(91.4% 0.121 127.4);
Tailwind
colors: {
custom: {
50: '#dcf6b8',
500: '#ccf299',
950: '#000000',
},
}SCSS
$custom: #ccf299; $custom-light: #dcf6b8; $custom-dark: #000000;
JSON
{
"hex": "#ccf299",
"rgb": {
"r": 204,
"g": 242,
"b": 153
},
"hsl": {
"h": 85.618,
"s": 77.391,
"l": 77.451
},
"oklch": {
"l": 0.91357,
"c": 0.12121,
"h": 127.4
},
"luminance": 0.78642
}Semantic roles & 50–950 ramp
primary
#CCF299
secondary
#8F60D0
accent
#0CDA64
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581