#F2FFB7#F2FFB7
#F2FFB7 is a very light, moderate yellow-green. Relative luminance 0.938; OKLCH L 97.3% C 0.093 H 116.5°. Best body text is #000000 at 19.76:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FFB7 |
|---|---|
| RGB | rgb(242, 255, 183) |
| HSL | hsl(71, 100%, 86%) |
| HSV | hsv(71, 28%, 100%) |
| CMYK | cmyk(5.1%, 0%, 28.2%, 0%) |
| CIE-LAB | lab(97.56, -15.58, 33.07) |
| CIE-LCH | lch(97.56, 36.56, 115.22°) |
| OKLab | oklab(97.34% -0.0413 0.083) |
| OKLCH | oklch(97.34% 0.093 116.5) |
| XYZ | xyz(80.9249, 93.8167, 58.6358) |
| Luminance | 0.9382 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.21
Creme
#FFFFB6
ΔE00 3.41
Light Beige
#FFFEB6
ΔE00 3.64
Cream (survey)
#FFFFC2
ΔE00 3.88
Parchment
#FEFCAF
ΔE00 4.10
Ecru
#FEFFCA
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FFB7 #C4B7FF
analogous
#FFE8B7 #F2FFB7 #CEFFB7
triadic
#F2FFB7 #B7F2FF #FFB7F2
tetradic
#F2FFB7 #B7FFE8 #C4B7FF #FFB7CE
square
#F2FFB7 #B7FFE8 #C4B7FF #FFB7CE
split-complementary
#F2FFB7 #B7CEFF #E8B7FF
monochromatic
#DCFF3D #E7FF7A #F2FFB7 #F9FFE0 #F9FFE0
Accessibility & contrast
On white
1.06
#F2FFB7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.76
#F2FFB7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FFB7
19.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FFB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FFB7 | 1.00 | 1.06 | 19.76 | 19.76 |
| #FFFFFF | 1.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF8B2
Deuteranopia (green-blind)
#FFF9BA
Tritanopia (blue-blind)
#FAF7EC
Achromatopsia (no color)
#F8F8F8
Design tokens & code
CSS
--color: #f2ffb7; /* rgb */ color: rgb(242, 255, 183); /* oklch */ color: oklch(97.3% 0.093 116.5);
Tailwind
colors: {
custom: {
50: '#f7ffcd',
500: '#f2ffb7',
950: '#000000',
},
}SCSS
$custom: #f2ffb7; $custom-light: #f7ffcd; $custom-dark: #000000;
JSON
{
"hex": "#f2ffb7",
"rgb": {
"r": 242,
"g": 255,
"b": 183
},
"hsl": {
"h": 70.833,
"s": 100,
"l": 85.882
},
"oklch": {
"l": 0.97342,
"c": 0.09268,
"h": 116.5
},
"luminance": 0.93816
}Semantic roles & 50–950 ramp
primary
#F2FFB7
secondary
#8874E6
accent
#00E629
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#171813
muted
#858683