#F0EDDA#F0EDDA

#F0EDDA is a very light, muted yellow. Relative luminance 0.842; OKLCH L 94.3% C 0.025 H 99.5°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#F0EDDA
RGBrgb(240, 237, 218)
HSLhsl(52, 42%, 90%)
HSVhsv(52, 9%, 94%)
CMYKcmyk(0%, 1.2%, 9.2%, 5.9%)
CIE-LABlab(93.52, -2.20, 9.56)
CIE-LCHlch(93.52, 9.81, 102.98°)
OKLaboklab(94.33% -0.0042 0.025)
OKLCHoklch(94.33% 0.025 99.5)
XYZxyz(78.8728, 84.1561, 78.4047)
Luminance0.8416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EDDA #DADDF0
analogous
#F0E2DA #F0EDDA #E8F0DA
triadic
#F0EDDA #DAF0ED #EDDAF0
tetradic
#F0EDDA #DAF0E2 #DADDF0 #F0DAE8
square
#F0EDDA #DAF0E2 #DADDF0 #F0DAE8
split-complementary
#F0EDDA #DAE8F0 #E2DAF0
monochromatic
#CDC383 #DED8AE #F0EDDA #F6F4E9 #F6F4E9

Accessibility & contrast

On white

1.18
#F0EDDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.83
#F0EDDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EDDA
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EDDA#FFFFFF#000000##000000
##F0EDDA1.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1ECD9
Deuteranopia (green-blind)
#F2EDDB
Tritanopia (blue-blind)
#F4EAE7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f0edda;
/* rgb */ color: rgb(240, 237, 218);
/* oklch */ color: oklch(94.3% 0.025 99.5);
Tailwind
colors: {
  custom: {
    50: '#f5f2e5',
    500: '#f0edda',
    950: '#000000',
  },
}
SCSS
$custom: #f0edda;
$custom-light: #f5f2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#f0edda",
  "rgb": {
    "r": 240,
    "g": 237,
    "b": 218
  },
  "hsl": {
    "h": 51.818,
    "s": 42.308,
    "l": 89.804
  },
  "oklch": {
    "l": 0.94334,
    "c": 0.02533,
    "h": 99.5
  },
  "luminance": 0.84156
}

Semantic roles & 50–950 ramp

primary
#F0EDDA
secondary
#A2A8CC
accent
#42B530
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171715
muted
#858584

Preview Lab

Preview with #F0EDDA

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

Preview Lab → · Contrast checker → · Palette generator →

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