#F2EDCE#F2EDCE

#F2EDCE is a very light, muted yellow. Relative luminance 0.839; OKLCH L 94.2% C 0.041 H 99.6°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#F2EDCE
RGBrgb(242, 237, 206)
HSLhsl(52, 58%, 88%)
HSVhsv(52, 15%, 95%)
CMYKcmyk(0%, 2.1%, 14.9%, 5.1%)
CIE-LABlab(93.41, -3.39, 15.64)
CIE-LCHlch(93.41, 16.00, 102.21°)
OKLaboklab(94.2% -0.0068 0.0405)
OKLCHoklch(94.2% 0.041 99.6)
XYZxyz(78.0418, 83.9027, 70.4641)
Luminance0.8390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDCE #CED3F2
analogous
#F2DBCE #F2EDCE #E5F2CE
triadic
#F2EDCE #CEF2ED #EDCEF2
tetradic
#F2EDCE #CEF2DB #CED3F2 #F2CEE5
square
#F2EDCE #CEF2DB #CED3F2 #F2CEE5
split-complementary
#F2EDCE #CEE5F2 #DBCEF2
monochromatic
#D8C96D #E5DB9E #F2EDCE #F9F6E7 #F9F6E7

Accessibility & contrast

On white

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

On black

17.78
#F2EDCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDCE
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDCE#FFFFFF#000000##000000
##F2EDCE1.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3EBCC
Deuteranopia (green-blind)
#F5EDCF
Tritanopia (blue-blind)
#F8E8E4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2edce;
/* rgb */ color: rgb(242, 237, 206);
/* oklch */ color: oklch(94.2% 0.041 99.6);
Tailwind
colors: {
  custom: {
    50: '#f6f2dd',
    500: '#f2edce',
    950: '#000000',
  },
}
SCSS
$custom: #f2edce;
$custom-light: #f6f2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2edce",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 206
  },
  "hsl": {
    "h": 51.667,
    "s": 58.065,
    "l": 87.843
  },
  "oklch": {
    "l": 0.94198,
    "c": 0.04102,
    "h": 99.6
  },
  "luminance": 0.83902
}

Semantic roles & 50–950 ramp

primary
#F2EDCE
secondary
#939CD1
accent
#37C620
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171715
muted
#858584

Preview Lab

Preview with #F2EDCE

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

Preview Lab → · Contrast checker → · Palette generator →

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