#F8F0D4#F8F0D4
#F8F0D4 is a very light, muted yellow. Relative luminance 0.870; OKLCH L 95.4% C 0.038 H 93.8°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F0D4 |
|---|---|
| RGB | rgb(248, 240, 212) |
| HSL | hsl(47, 72%, 90%) |
| HSV | hsv(47, 15%, 97%) |
| CMYK | cmyk(0%, 3.2%, 14.5%, 2.7%) |
| CIE-LAB | lab(94.75, -1.87, 14.50) |
| CIE-LCH | lch(94.75, 14.62, 97.33°) |
| OKLab | oklab(95.41% -0.0025 0.0376) |
| OKLCH | oklch(95.41% 0.038 93.8) |
| XYZ | xyz(81.7542, 87.0311, 74.7665) |
| Luminance | 0.8703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Cornsilk
#FFF8DC
ΔE00 1.67
Eggshell
#F0EAD6
ΔE00 2.93
Beige
#F5F5DC
ΔE00 3.51
Papayawhip
#FFEFD5
ΔE00 3.93
Pale
#FFF9D0
ΔE00 4.34
Off White (survey)
#FFFFE4
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F0D4 #D4DCF8
analogous
#F8DED4 #F8F0D4 #EEF8D4
triadic
#F8F0D4 #D4F8F0 #F0D4F8
tetradic
#F8F0D4 #D4F8DE #D4DCF8 #F8D4EE
square
#F8F0D4 #D4F8DE #D4DCF8 #F8D4EE
split-complementary
#F8F0D4 #D4EEF8 #DED4F8
monochromatic
#E7CB6B #EFDE9F #F8F0D4 #FBF6E5 #FBF6E5
Accessibility & contrast
On white
1.14
#F8F0D4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.41
#F8F0D4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F0D4
18.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F0D4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F0D4 | 1.00 | 1.14 | 18.41 | 18.41 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6EED2
Deuteranopia (green-blind)
#F9F1D5
Tritanopia (blue-blind)
#FEEBE8
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f8f0d4; /* rgb */ color: rgb(248, 240, 212); /* oklch */ color: oklch(95.4% 0.038 93.8);
Tailwind
colors: {
custom: {
50: '#faf4e1',
500: '#f8f0d4',
950: '#000000',
},
}SCSS
$custom: #f8f0d4; $custom-light: #faf4e1; $custom-dark: #000000;
JSON
{
"hex": "#f8f0d4",
"rgb": {
"r": 248,
"g": 240,
"b": 212
},
"hsl": {
"h": 46.667,
"s": 72,
"l": 90.196
},
"oklch": {
"l": 0.95412,
"c": 0.03769,
"h": 93.8
},
"luminance": 0.8703
}Semantic roles & 50–950 ramp
primary
#F8F0D4
secondary
#94A4DC
accent
#3DD411
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#171715
muted
#858584