#F2FFB2#F2FFB2
#F2FFB2 is a very light, moderate yellow-green. Relative luminance 0.936; OKLCH L 97.2% C 0.099 H 116.1°. Best body text is #000000 at 19.72:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FFB2 |
|---|---|
| RGB | rgb(242, 255, 178) |
| HSL | hsl(70, 100%, 85%) |
| HSV | hsv(70, 30%, 100%) |
| CMYK | cmyk(5.1%, 0%, 30.2%, 0%) |
| CIE-LAB | lab(97.48, -16.22, 35.46) |
| CIE-LCH | lch(97.48, 38.99, 114.58°) |
| OKLab | oklab(97.25% -0.0433 0.0885) |
| OKLCH | oklch(97.25% 0.099 116.1) |
| XYZ | xyz(80.4137, 93.6122, 55.9436) |
| Luminance | 0.9361 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.79
Creme
#FFFFB6
ΔE00 3.34
Light Beige
#FFFEB6
ΔE00 3.60
Parchment
#FEFCAF
ΔE00 3.83
Cream (survey)
#FFFFC2
ΔE00 4.34
Ecru
#FEFFCA
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FFB2 #BFB2FF
analogous
#FFE6B2 #F2FFB2 #CBFFB2
triadic
#F2FFB2 #B2F2FF #FFB2F2
tetradic
#F2FFB2 #B2FFE6 #BFB2FF #FFB2CB
square
#F2FFB2 #B2FFE6 #BFB2FF #FFB2CB
split-complementary
#F2FFB2 #B2CBFF #E6B2FF
monochromatic
#DDFF38 #E8FF75 #F2FFB2 #FAFFE0 #FAFFE0
Accessibility & contrast
On white
1.06
#F2FFB2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.72
#F2FFB2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FFB2
19.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FFB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FFB2 | 1.00 | 1.06 | 19.72 | 19.72 |
| #FFFFFF | 1.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF7AD
Deuteranopia (green-blind)
#FFF8B5
Tritanopia (blue-blind)
#FAF7EB
Achromatopsia (no color)
#F8F8F8
Design tokens & code
CSS
--color: #f2ffb2; /* rgb */ color: rgb(242, 255, 178); /* oklch */ color: oklch(97.2% 0.099 116.1);
Tailwind
colors: {
custom: {
50: '#f7ffc9',
500: '#f2ffb2',
950: '#000000',
},
}SCSS
$custom: #f2ffb2; $custom-light: #f7ffc9; $custom-dark: #000000;
JSON
{
"hex": "#f2ffb2",
"rgb": {
"r": 242,
"g": 255,
"b": 178
},
"hsl": {
"h": 70.13,
"s": 100,
"l": 84.902
},
"oklch": {
"l": 0.97249,
"c": 0.09855,
"h": 116.1
},
"luminance": 0.93612
}Semantic roles & 50–950 ramp
primary
#F2FFB2
secondary
#8370E6
accent
#00E627
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171813
muted
#858682