#F8F8E2#F8F8E2
#F8F8E2 is a very light, muted yellow. Relative luminance 0.926; OKLCH L 97.3% C 0.029 H 106.9°. Best body text is #000000 at 19.52:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F8E2 |
|---|---|
| RGB | rgb(248, 248, 226) |
| HSL | hsl(60, 61%, 93%) |
| HSV | hsv(60, 9%, 97%) |
| CMYK | cmyk(0%, 0%, 8.9%, 2.7%) |
| CIE-LAB | lab(97.06, -3.71, 10.57) |
| CIE-LCH | lch(97.06, 11.20, 109.32°) |
| OKLab | oklab(97.33% -0.0084 0.0276) |
| OKLCH | oklch(97.33% 0.029 106.9) |
| XYZ | xyz(86.0046, 92.5827, 85.2762) |
| Luminance | 0.9258 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige
#F5F5DC
ΔE00 1.23
Off White (survey)
#FFFFE4
ΔE00 2.12
Ivory
#FFFFF0
ΔE00 3.03
Lightyellow
#FFFFE0
ΔE00 3.16
Cornsilk
#FFF8DC
ΔE00 3.30
Eggshell
#F0EAD6
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F8E2 #E2E2F8
analogous
#F8EDE2 #F8F8E2 #EDF8E2
triadic
#F8F8E2 #E2F8F8 #F8E2F8
tetradic
#F8F8E2 #E2F8ED #E2E2F8 #F8E2ED
square
#F8F8E2 #E2F8ED #E2E2F8 #F8E2ED
split-complementary
#F8F8E2 #E2EDF8 #EDE2F8
monochromatic
#E0E07F #ECECB1 #F8F8E2 #F9F9E6 #F9F9E6
Accessibility & contrast
On white
1.08
#F8F8E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.52
#F8F8E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F8E2
19.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F8E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F8E2 | 1.00 | 1.08 | 19.52 | 19.52 |
| #FFFFFF | 1.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCF6E1
Deuteranopia (green-blind)
#FDF7E3
Tritanopia (blue-blind)
#FCF5F2
Achromatopsia (no color)
#F6F6F6
Design tokens & code
CSS
--color: #f8f8e2; /* rgb */ color: rgb(248, 248, 226); /* oklch */ color: oklch(97.3% 0.029 106.9);
Tailwind
colors: {
custom: {
50: '#fafaeb',
500: '#f8f8e2',
950: '#000000',
},
}SCSS
$custom: #f8f8e2; $custom-light: #fafaeb; $custom-dark: #000000;
JSON
{
"hex": "#f8f8e2",
"rgb": {
"r": 248,
"g": 248,
"b": 226
},
"hsl": {
"h": 60,
"s": 61.111,
"l": 92.941
},
"oklch": {
"l": 0.97331,
"c": 0.02883,
"h": 106.9
},
"luminance": 0.92582
}Semantic roles & 50–950 ramp
primary
#F8F8E2
secondary
#A4A4DA
accent
#1DC91D
background
#FFFFFE
surface
#FFFFFD
border
#D7D7D5
text
#171716
muted
#858584