#F0EFDC#F0EFDC

#F0EFDC is a very light, muted yellow. Relative luminance 0.854; OKLCH L 94.8% C 0.025 H 104.4°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#F0EFDC
RGBrgb(240, 239, 220)
HSLhsl(57, 40%, 90%)
HSVhsv(57, 8%, 94%)
CMYKcmyk(0%, 0.4%, 8.3%, 5.9%)
CIE-LABlab(94.07, -2.89, 9.31)
CIE-LCHlch(94.07, 9.75, 107.27°)
OKLaboklab(94.78% -0.0062 0.0243)
OKLCHoklch(94.78% 0.025 104.4)
XYZxyz(79.7183, 85.4260, 79.9855)
Luminance0.8543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EFDC #DCDDF0
analogous
#F0E5DC #F0EFDC #E7F0DC
triadic
#F0EFDC #DCF0EF #EFDCF0
tetradic
#F0EFDC #DCF0E5 #DCDDF0 #F0DCE7
square
#F0EFDC #DCF0E5 #DCDDF0 #F0DCE7
split-complementary
#F0EFDC #DCE7F0 #E5DCF0
monochromatic
#CBC886 #DEDBB1 #F0EFDC #F6F5EA #F6F5EA

Accessibility & contrast

On white

1.16
#F0EFDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.09
#F0EFDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EFDC
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EFDC#FFFFFF#000000##000000
##F0EFDC1.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3EDDB
Deuteranopia (green-blind)
#F3EEDD
Tritanopia (blue-blind)
#F3ECE9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f0efdc;
/* rgb */ color: rgb(240, 239, 220);
/* oklch */ color: oklch(94.8% 0.025 104.4);
Tailwind
colors: {
  custom: {
    50: '#f5f4e6',
    500: '#f0efdc',
    950: '#000000',
  },
}
SCSS
$custom: #f0efdc;
$custom-light: #f5f4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f0efdc",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 220
  },
  "hsl": {
    "h": 57,
    "s": 40,
    "l": 90.196
  },
  "oklch": {
    "l": 0.94781,
    "c": 0.02512,
    "h": 104.4
  },
  "luminance": 0.85426
}

Semantic roles & 50–950 ramp

primary
#F0EFDC
secondary
#A4A6CC
accent
#39B332
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F0EFDC

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

Preview Lab → · Contrast checker → · Palette generator →

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