#F2EFDC#F2EFDC

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

Color values

HEX#F2EFDC
RGBrgb(242, 239, 220)
HSLhsl(52, 46%, 91%)
HSVhsv(52, 9%, 95%)
CMYKcmyk(0%, 1.2%, 9.1%, 5.1%)
CIE-LABlab(94.22, -2.20, 9.55)
CIE-LCHlch(94.22, 9.80, 102.99°)
OKLaboklab(94.94% -0.0042 0.0249)
OKLCHoklch(94.94% 0.025 99.5)
XYZxyz(80.4012, 85.7781, 80.0175)
Luminance0.8578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EFDC #DCDFF2
analogous
#F2E4DC #F2EFDC #EAF2DC
triadic
#F2EFDC #DCF2EF #EFDCF2
tetradic
#F2EFDC #DCF2E4 #DCDFF2 #F2DCEA
square
#F2EFDC #DCF2E4 #DCDFF2 #F2DCEA
split-complementary
#F2EFDC #DCEAF2 #E4DCF2
monochromatic
#D1C683 #E1DBAF #F2EFDC #F7F5E9 #F7F5E9

Accessibility & contrast

On white

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

On black

18.16
#F2EFDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EFDC
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EFDC#FFFFFF#000000##000000
##F2EFDC1.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3EEDB
Deuteranopia (green-blind)
#F4EFDD
Tritanopia (blue-blind)
#F6ECE9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2efdc;
/* rgb */ color: rgb(242, 239, 220);
/* oklch */ color: oklch(94.9% 0.025 99.5);
Tailwind
colors: {
  custom: {
    50: '#f6f4e6',
    500: '#f2efdc',
    950: '#000000',
  },
}
SCSS
$custom: #f2efdc;
$custom-light: #f6f4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2efdc",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 220
  },
  "hsl": {
    "h": 51.818,
    "s": 45.833,
    "l": 90.588
  },
  "oklch": {
    "l": 0.94937,
    "c": 0.02529,
    "h": 99.5
  },
  "luminance": 0.85778
}

Semantic roles & 50–950 ramp

primary
#F2EFDC
secondary
#A3A9D0
accent
#40B92C
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F2EFDC

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

Preview Lab → · Contrast checker → · Palette generator →

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