#F0F2DE#F0F2DE

#F0F2DE is a very light, muted yellow. Relative luminance 0.873; OKLCH L 95.4% C 0.026 H 111.5°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#F0F2DE
RGBrgb(240, 242, 222)
HSLhsl(66, 43%, 91%)
HSVhsv(66, 8%, 95%)
CMYKcmyk(0.8%, 0%, 8.3%, 5.1%)
CIE-LABlab(94.87, -4.08, 9.42)
CIE-LCHlch(94.87, 10.27, 113.43°)
OKLaboklab(95.43% -0.0097 0.0246)
OKLCHoklch(95.43% 0.026 111.5)
XYZxyz(80.8704, 87.3037, 81.6840)
Luminance0.8730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F2DE #E0DEF2
analogous
#F2EADE #F0F2DE #E6F2DE
triadic
#F0F2DE #DEF0F2 #F2DEF0
tetradic
#F0F2DE #DEF2EA #E0DEF2 #F2DEE6
square
#F0F2DE #DEF2EA #E0DEF2 #F2DEE6
split-complementary
#F0F2DE #DEE6F2 #EADEF2
monochromatic
#C8CF86 #DCE1B2 #F0F2DE #F5F6E9 #F5F6E9

Accessibility & contrast

On white

1.14
#F0F2DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#F0F2DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F2DE
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F2DE#FFFFFF#000000##000000
##F0F2DE1.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6F0DD
Deuteranopia (green-blind)
#F6F1DF
Tritanopia (blue-blind)
#F3EFEC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0f2de;
/* rgb */ color: rgb(240, 242, 222);
/* oklch */ color: oklch(95.4% 0.026 111.5);
Tailwind
colors: {
  custom: {
    50: '#f5f6e8',
    500: '#f0f2de',
    950: '#000000',
  },
}
SCSS
$custom: #f0f2de;
$custom-light: #f5f6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f2de",
  "rgb": {
    "r": 240,
    "g": 242,
    "b": 222
  },
  "hsl": {
    "h": 66,
    "s": 43.478,
    "l": 90.98
  },
  "oklch": {
    "l": 0.95427,
    "c": 0.02645,
    "h": 111.5
  },
  "luminance": 0.87303
}

Semantic roles & 50–950 ramp

primary
#F0F2DE
secondary
#A9A5CF
accent
#2FB73C
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F0F2DE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F0F2DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva