#F2EFDF#F2EFDF

#F2EFDF is a very light, muted yellow. Relative luminance 0.859; OKLCH L 95.0% C 0.021 H 98.1°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#F2EFDF
RGBrgb(242, 239, 223)
HSLhsl(51, 42%, 91%)
HSVhsv(51, 8%, 95%)
CMYKcmyk(0%, 1.2%, 7.9%, 5.1%)
CIE-LABlab(94.29, -1.71, 8.09)
CIE-LCHlch(94.29, 8.27, 101.95°)
OKLaboklab(95.01% -0.003 0.0212)
OKLCHoklch(95.01% 0.021 98.1)
XYZxyz(80.8021, 85.9385, 82.1288)
Luminance0.8594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EFDF #DFE2F2
analogous
#F2E5DF #F2EFDF #EBF2DF
triadic
#F2EFDF #DFF2EF #EFDFF2
tetradic
#F2EFDF #DFF2E5 #DFE2F2 #F2DFEB
square
#F2EFDF #DFF2E5 #DFE2F2 #F2DFEB
split-complementary
#F2EFDF #DFEBF2 #E5DFF2
monochromatic
#CFC388 #E0D9B3 #F2EFDF #F6F4E9 #F6F4E9

Accessibility & contrast

On white

1.15
#F2EFDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.19
#F2EFDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EFDF
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EFDF#FFFFFF#000000##000000
##F2EFDF1.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3EEDE
Deuteranopia (green-blind)
#F4EFDF
Tritanopia (blue-blind)
#F5ECEA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2efdf;
/* rgb */ color: rgb(242, 239, 223);
/* oklch */ color: oklch(95.0% 0.021 98.1);
Tailwind
colors: {
  custom: {
    50: '#f6f4e9',
    500: '#f2efdf',
    950: '#000000',
  },
}
SCSS
$custom: #f2efdf;
$custom-light: #f6f4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2efdf",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 223
  },
  "hsl": {
    "h": 50.526,
    "s": 42.222,
    "l": 91.176
  },
  "oklch": {
    "l": 0.95014,
    "c": 0.0214,
    "h": 98.1
  },
  "luminance": 0.85938
}

Semantic roles & 50–950 ramp

primary
#F2EFDF
secondary
#A6ADCF
accent
#45B530
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F2EFDF

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

Preview Lab → · Contrast checker → · Palette generator →

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