#FEF2DC#FEF2DC

#FEF2DC is a very light, muted orange. Relative luminance 0.897; OKLCH L 96.5% C 0.032 H 82.8°. Best body text is #000000 at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#FEF2DC
RGBrgb(254, 242, 220)
HSLhsl(39, 94%, 93%)
HSVhsv(39, 13%, 100%)
CMYKcmyk(0%, 4.7%, 13.4%, 0.4%)
CIE-LABlab(95.89, 0.46, 12.06)
CIE-LCHlch(95.89, 12.07, 87.82°)
OKLaboklab(96.48% 0.004 0.0314)
OKLCHoklch(96.48% 0.032 82.8)
XYZxyz(85.5424, 89.7436, 80.5122)
Luminance0.8974 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF2DC #DCE8FE
analogous
#FEE1DC #FEF2DC #F9FEDC
triadic
#FEF2DC #DCFEF2 #F2DCFE
tetradic
#FEF2DC #DCFEE1 #DCE8FE #FEDCF9
square
#FEF2DC #DCFEE1 #DCE8FE #FEDCF9
split-complementary
#FEF2DC #DCF9FE #E1DCFE
monochromatic
#FBC665 #FCDCA0 #FEF2DC #FEF4E1 #FEF4E1

Accessibility & contrast

On white

1.11
#FEF2DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.95
#FEF2DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF2DC
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF2DC#FFFFFF#000000##000000
##FEF2DC1.001.1118.9518.95
#FFFFFF1.111.0021.0021.00
#00000018.9521.001.001.00
##00000018.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8F1DB
Deuteranopia (green-blind)
#FBF4DD
Tritanopia (blue-blind)
#FFEEEC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef2dc;
/* rgb */ color: rgb(254, 242, 220);
/* oklch */ color: oklch(96.5% 0.032 82.8);
Tailwind
colors: {
  custom: {
    50: '#fff6e6',
    500: '#fef2dc',
    950: '#000000',
  },
}
SCSS
$custom: #fef2dc;
$custom-light: #fff6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#fef2dc",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 220
  },
  "hsl": {
    "h": 38.824,
    "s": 94.444,
    "l": 92.941
  },
  "oklch": {
    "l": 0.96479,
    "c": 0.03167,
    "h": 82.8
  },
  "luminance": 0.89742
}

Semantic roles & 50–950 ramp

primary
#FEF2DC
secondary
#95B3E9
accent
#51E600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#181716
muted
#868584

Preview Lab

Preview with #FEF2DC

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

Preview Lab → · Contrast checker → · Palette generator →

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