#F8FEF2#F8FEF2
#F8FEF2 is a very light, near-neutral yellow-green. Relative luminance 0.973; OKLCH L 98.9% C 0.017 H 128.7°. Best body text is #000000 at 20.45:1 contrast (WCAG AA passes).
Color values
| HEX | #F8FEF2 |
|---|---|
| RGB | rgb(248, 254, 242) |
| HSL | hsl(90, 86%, 97%) |
| HSV | hsv(90, 5%, 100%) |
| CMYK | cmyk(2.4%, 0%, 4.7%, 0.4%) |
| CIE-LAB | lab(98.93, -4.06, 5.04) |
| CIE-LCH | lch(98.93, 6.48, 128.86°) |
| OKLab | oklab(98.93% -0.0106 0.0132) |
| OKLCH | oklch(98.93% 0.017 128.7) |
| XYZ | xyz(90.1776, 97.2508, 98.0077) |
| Luminance | 0.9725 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Ivory
#FFFFF0
ΔE00 2.72
Mintcream
#F5FFFA
ΔE00 3.26
Honeydew
#F0FFF0
ΔE00 3.76
Floralwhite
#FFFAF0
ΔE00 5.36
Beige
#F5F5DC
ΔE00 5.42
Off White (survey)
#FFFFE4
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8FEF2 #F8F2FE
analogous
#FEFEF2 #F8FEF2 #F2FEF2
triadic
#F8FEF2 #F2F8FE #FEF2F8
tetradic
#F8FEF2 #F2FEFE #F8F2FE #FEF2F2
square
#F8FEF2 #F2FEFE #F8F2FE #FEF2F2
split-complementary
#F8FEF2 #F2F2FE #FEF2FE
monochromatic
#BBF580 #D9FAB9 #F0FDE3 #F0FDE3 #F0FDE3
Accessibility & contrast
On white
1.03
#F8FEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
20.45
#F8FEF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8FEF2
20.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8FEF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8FEF2 | 1.00 | 1.03 | 20.45 | 20.45 |
| #FFFFFF | 1.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 20.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 20.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFFCF1
Deuteranopia (green-blind)
#FEFCF2
Tritanopia (blue-blind)
#F9FDFA
Achromatopsia (no color)
#FCFCFC
Design tokens & code
CSS
--color: #f8fef2; /* rgb */ color: rgb(248, 254, 242); /* oklch */ color: oklch(98.9% 0.017 128.7);
Tailwind
colors: {
custom: {
50: '#fafef6',
500: '#f8fef2',
950: '#000000',
},
}SCSS
$custom: #f8fef2; $custom-light: #fafef6; $custom-dark: #000000;
JSON
{
"hex": "#f8fef2",
"rgb": {
"r": 248,
"g": 254,
"b": 242
},
"hsl": {
"h": 90,
"s": 85.714,
"l": 97.255
},
"oklch": {
"l": 0.98926,
"c": 0.01695,
"h": 128.7
},
"luminance": 0.97251
}Semantic roles & 50–950 ramp
primary
#F8FEF2
secondary
#CAAAEA
accent
#03E273
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585