#F2FFB1#F2FFB1
#F2FFB1 is a very light, moderate yellow-green. Relative luminance 0.936; OKLCH L 97.2% C 0.100 H 116.0°. Best body text is #000000 at 19.71:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FFB1 |
|---|---|
| RGB | rgb(242, 255, 177) |
| HSL | hsl(70, 100%, 85%) |
| HSV | hsv(70, 31%, 100%) |
| CMYK | cmyk(5.1%, 0%, 30.6%, 0%) |
| CIE-LAB | lab(97.46, -16.35, 35.94) |
| CIE-LCH | lch(97.46, 39.48, 114.46°) |
| OKLab | oklab(97.23% -0.0437 0.0896) |
| OKLCH | oklch(97.23% 0.1 116) |
| XYZ | xyz(80.3136, 93.5722, 55.4167) |
| Luminance | 0.9357 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.74
Creme
#FFFFB6
ΔE00 3.35
Light Beige
#FFFEB6
ΔE00 3.62
Parchment
#FEFCAF
ΔE00 3.80
Cream (survey)
#FFFFC2
ΔE00 4.45
Ecru
#FEFFCA
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FFB1 #BEB1FF
analogous
#FFE5B1 #F2FFB1 #CBFFB1
triadic
#F2FFB1 #B1F2FF #FFB1F2
tetradic
#F2FFB1 #B1FFE5 #BEB1FF #FFB1CB
square
#F2FFB1 #B1FFE5 #BEB1FF #FFB1CB
split-complementary
#F2FFB1 #B1CBFF #E5B1FF
monochromatic
#DEFF37 #E8FF74 #F2FFB1 #FAFFE0 #FAFFE0
Accessibility & contrast
On white
1.07
#F2FFB1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.71
#F2FFB1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FFB1
19.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FFB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FFB1 | 1.00 | 1.07 | 19.71 | 19.71 |
| #FFFFFF | 1.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF7AC
Deuteranopia (green-blind)
#FFF8B4
Tritanopia (blue-blind)
#FAF7EB
Achromatopsia (no color)
#F8F8F8
Design tokens & code
CSS
--color: #f2ffb1; /* rgb */ color: rgb(242, 255, 177); /* oklch */ color: oklch(97.2% 0.100 116.0);
Tailwind
colors: {
custom: {
50: '#f7ffc9',
500: '#f2ffb1',
950: '#000000',
},
}SCSS
$custom: #f2ffb1; $custom-light: #f7ffc9; $custom-dark: #000000;
JSON
{
"hex": "#f2ffb1",
"rgb": {
"r": 242,
"g": 255,
"b": 177
},
"hsl": {
"h": 70,
"s": 100,
"l": 84.706
},
"oklch": {
"l": 0.97231,
"c": 0.09971,
"h": 116
},
"luminance": 0.93572
}Semantic roles & 50–950 ramp
primary
#F2FFB1
secondary
#826FE6
accent
#00E626
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171813
muted
#858682