#F8F2D2#F8F2D2
#F8F2D2 is a very light, muted yellow. Relative luminance 0.881; OKLCH L 95.8% C 0.042 H 98.4°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F2D2 |
|---|---|
| RGB | rgb(248, 242, 210) |
| HSL | hsl(51, 73%, 90%) |
| HSV | hsv(51, 15%, 97%) |
| CMYK | cmyk(0%, 2.4%, 15.3%, 2.7%) |
| CIE-LAB | lab(95.21, -3.18, 16.18) |
| CIE-LCH | lch(95.21, 16.49, 101.11°) |
| OKLab | oklab(95.76% -0.0062 0.0418) |
| OKLCH | oklch(95.76% 0.042 98.4) |
| XYZ | xyz(82.0955, 88.1149, 73.6433) |
| Luminance | 0.8811 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Cornsilk
#FFF8DC
ΔE00 1.97
Pale
#FFF9D0
ΔE00 2.83
Beige
#F5F5DC
ΔE00 3.10
Lightyellow
#FFFFE0
ΔE00 3.42
Lightgoldenrodyellow
#FAFAD2
ΔE00 3.67
Off White (survey)
#FFFFE4
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F2D2 #D2D8F8
analogous
#F8DFD2 #F8F2D2 #EBF8D2
triadic
#F8F2D2 #D2F8F2 #F2D2F8
tetradic
#F8F2D2 #D2F8DF #D2D8F8 #F8D2EB
square
#F8F2D2 #D2F8DF #D2D8F8 #F8D2EB
split-complementary
#F8F2D2 #D2EBF8 #DFD2F8
monochromatic
#E8D368 #F0E39D #F8F2D2 #FBF7E5 #FBF7E5
Accessibility & contrast
On white
1.13
#F8F2D2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.62
#F8F2D2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F2D2
18.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F2D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F2D2 | 1.00 | 1.13 | 18.62 | 18.62 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9F0D0
Deuteranopia (green-blind)
#FBF2D3
Tritanopia (blue-blind)
#FEEDE9
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f8f2d2; /* rgb */ color: rgb(248, 242, 210); /* oklch */ color: oklch(95.8% 0.042 98.4);
Tailwind
colors: {
custom: {
50: '#faf6df',
500: '#f8f2d2',
950: '#000000',
},
}SCSS
$custom: #f8f2d2; $custom-light: #faf6df; $custom-dark: #000000;
JSON
{
"hex": "#f8f2d2",
"rgb": {
"r": 248,
"g": 242,
"b": 210
},
"hsl": {
"h": 50.526,
"s": 73.077,
"l": 89.804
},
"oklch": {
"l": 0.95759,
"c": 0.04228,
"h": 98.4
},
"luminance": 0.88114
}Semantic roles & 50–950 ramp
primary
#F8F2D2
secondary
#929EDC
accent
#2FD510
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#171715
muted
#858584