#F0F0D2#F0F0D2
#F0F0D2 is a very light, muted yellow. Relative luminance 0.855; OKLCH L 94.7% C 0.039 H 107.1°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F0D2 |
|---|---|
| RGB | rgb(240, 240, 210) |
| HSL | hsl(60, 50%, 88%) |
| HSV | hsv(60, 13%, 94%) |
| CMYK | cmyk(0%, 0%, 12.5%, 5.9%) |
| CIE-LAB | lab(94.10, -4.99, 14.53) |
| CIE-LCH | lch(94.10, 15.36, 108.96°) |
| OKLab | oklab(94.73% -0.0116 0.0376) |
| OKLCH | oklch(94.73% 0.039 107.1) |
| XYZ | xyz(78.7269, 85.4992, 73.3159) |
| Luminance | 0.8550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige
#F5F5DC
ΔE00 1.98
Lightyellow
#FFFFE0
ΔE00 3.06
Off White (survey)
#FFFFE4
ΔE00 3.28
Lightgoldenrodyellow
#FAFAD2
ΔE00 3.40
Cornsilk
#FFF8DC
ΔE00 3.74
Pale
#FFF9D0
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F0D2 #D2D2F0
analogous
#F0E1D2 #F0F0D2 #E1F0D2
triadic
#F0F0D2 #D2F0F0 #F0D2F0
tetradic
#F0F0D2 #D2F0E1 #D2D2F0 #F0D2E1
square
#F0F0D2 #D2F0E1 #D2D2F0 #F0D2E1
split-complementary
#F0F0D2 #D2E1F0 #E1D2F0
monochromatic
#D1D176 #E1E1A4 #F0F0D2 #F7F7E8 #F7F7E8
Accessibility & contrast
On white
1.16
#F0F0D2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.10
#F0F0D2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F0D2
18.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F0D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F0D2 | 1.00 | 1.16 | 18.10 | 18.10 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6EDD0
Deuteranopia (green-blind)
#F6EFD3
Tritanopia (blue-blind)
#F5ECE7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f0f0d2; /* rgb */ color: rgb(240, 240, 210); /* oklch */ color: oklch(94.7% 0.039 107.1);
Tailwind
colors: {
custom: {
50: '#f5f4df',
500: '#f0f0d2',
950: '#000000',
},
}SCSS
$custom: #f0f0d2; $custom-light: #f5f4df; $custom-dark: #000000;
JSON
{
"hex": "#f0f0d2",
"rgb": {
"r": 240,
"g": 240,
"b": 210
},
"hsl": {
"h": 60,
"s": 50,
"l": 88.235
},
"oklch": {
"l": 0.94733,
"c": 0.03938,
"h": 107.1
},
"luminance": 0.85499
}Semantic roles & 50–950 ramp
primary
#F0F0D2
secondary
#9999CE
accent
#28BD28
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171715
muted
#858584