#F0F2E2#F0F2E2

#F0F2E2 is a very light, muted yellow. Relative luminance 0.875; OKLCH L 95.5% C 0.021 H 112.6°. Best body text is #000000 at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#F0F2E2
RGBrgb(240, 242, 226)
HSLhsl(68, 38%, 92%)
HSVhsv(68, 7%, 95%)
CMYKcmyk(0.8%, 0%, 6.6%, 5.1%)
CIE-LABlab(94.96, -3.42, 7.49)
CIE-LCHlch(94.96, 8.23, 114.57°)
OKLaboklab(95.53% -0.0081 0.0196)
OKLCHoklch(95.53% 0.021 112.6)
XYZxyz(81.4128, 87.5207, 84.5410)
Luminance0.8752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F2E2 #E4E2F2
analogous
#F2ECE2 #F0F2E2 #E8F2E2
triadic
#F0F2E2 #E2F0F2 #F2E2F0
tetradic
#F0F2E2 #E2F2EC #E4E2F2 #F2E2E8
square
#F0F2E2 #E2F2EC #E4E2F2 #F2E2E8
split-complementary
#F0F2E2 #E2E8F2 #ECE2F2
monochromatic
#C4CC8D #DADFB8 #F0F2E2 #F4F6EA #F4F6EA

Accessibility & contrast

On white

1.13
#F0F2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.50
#F0F2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F2E2
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F2E2#FFFFFF#000000##000000
##F0F2E21.001.1318.5018.50
#FFFFFF1.131.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5F0E1
Deuteranopia (green-blind)
#F5F1E3
Tritanopia (blue-blind)
#F2F0ED
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0f2e2;
/* rgb */ color: rgb(240, 242, 226);
/* oklch */ color: oklch(95.5% 0.021 112.6);
Tailwind
colors: {
  custom: {
    50: '#f5f6eb',
    500: '#f0f2e2',
    950: '#000000',
  },
}
SCSS
$custom: #f0f2e2;
$custom-light: #f5f6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f2e2",
  "rgb": {
    "r": 240,
    "g": 242,
    "b": 226
  },
  "hsl": {
    "h": 67.5,
    "s": 38.095,
    "l": 91.765
  },
  "oklch": {
    "l": 0.9553,
    "c": 0.02123,
    "h": 112.6
  },
  "luminance": 0.87521
}

Semantic roles & 50–950 ramp

primary
#F0F2E2
secondary
#AFAACE
accent
#34B144
background
#FFFFFE
surface
#FEFEFD
border
#D6D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F0F2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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