#F2FFCC#F2FFCC
#F2FFCC is a very light, moderate yellow-green. Relative luminance 0.948; OKLCH L 97.8% C 0.067 H 119.3°. Best body text is #000000 at 19.95:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FFCC |
|---|---|
| RGB | rgb(242, 255, 204) |
| HSL | hsl(75, 100%, 90%) |
| HSV | hsv(75, 20%, 100%) |
| CMYK | cmyk(5.1%, 0%, 20%, 0%) |
| CIE-LAB | lab(97.94, -12.66, 23.00) |
| CIE-LCH | lch(97.94, 26.25, 118.84°) |
| OKLab | oklab(97.77% -0.0329 0.0588) |
| OKLCH | oklch(97.77% 0.067 119.3) |
| XYZ | xyz(83.2759, 94.7571, 71.0179) |
| Luminance | 0.9476 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Ecru
#FEFFCA
ΔE00 3.57
Ivory (survey)
#FFFFCB
ΔE00 3.85
Eggshell (survey)
#FFFFD4
ΔE00 4.36
Cream (survey)
#FFFFC2
ΔE00 4.48
Cream
#FFFDD0
ΔE00 4.72
Lightgoldenrodyellow
#FAFAD2
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FFCC #D9CCFF
analogous
#FFF2CC #F2FFCC #D9FFCC
triadic
#F2FFCC #CCF2FF #FFCCF2
tetradic
#F2FFCC #CCFFF2 #D9CCFF #FFCCD9
square
#F2FFCC #CCFFF2 #D9CCFF #FFCCD9
split-complementary
#F2FFCC #CCD9FF #F2CCFF
monochromatic
#D3FF52 #E2FF8F #F2FFCC #F7FFE0 #F7FFE0
Accessibility & contrast
On white
1.05
#F2FFCC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.95
#F2FFCC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FFCC
19.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FFCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FFCC | 1.00 | 1.05 | 19.95 | 19.95 |
| #FFFFFF | 1.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF9C9
Deuteranopia (green-blind)
#FFF9CE
Tritanopia (blue-blind)
#F7F9F1
Achromatopsia (no color)
#F9F9F9
Design tokens & code
CSS
--color: #f2ffcc; /* rgb */ color: rgb(242, 255, 204); /* oklch */ color: oklch(97.8% 0.067 119.3);
Tailwind
colors: {
custom: {
50: '#f6ffdb',
500: '#f2ffcc',
950: '#000000',
},
}SCSS
$custom: #f2ffcc; $custom-light: #f6ffdb; $custom-dark: #000000;
JSON
{
"hex": "#f2ffcc",
"rgb": {
"r": 242,
"g": 255,
"b": 204
},
"hsl": {
"h": 75.294,
"s": 100,
"l": 90
},
"oklch": {
"l": 0.97767,
"c": 0.06737,
"h": 119.3
},
"luminance": 0.94757
}Semantic roles & 50–950 ramp
primary
#F2FFCC
secondary
#9F86EA
accent
#00E63A
background
#FFFFFE
surface
#FEFFFC
border
#D6D7D5
text
#171815
muted
#858684