#FEF2D8#FEF2D8

#FEF2D8 is a very light, muted orange. Relative luminance 0.895; OKLCH L 96.4% C 0.036 H 86.2°. Best body text is #000000 at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#FEF2D8
RGBrgb(254, 242, 216)
HSLhsl(41, 95%, 92%)
HSVhsv(41, 15%, 100%)
CMYKcmyk(0%, 4.7%, 15%, 0.4%)
CIE-LABlab(95.80, -0.15, 14.00)
CIE-LCHlch(95.80, 14.00, 90.62°)
OKLaboklab(96.38% 0.0024 0.0363)
OKLCHoklch(96.38% 0.036 86.2)
XYZxyz(85.0190, 89.5342, 77.7555)
Luminance0.8953 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF2D8 #D8E4FE
analogous
#FEDFD8 #FEF2D8 #F7FED8
triadic
#FEF2D8 #D8FEF2 #F2D8FE
tetradic
#FEF2D8 #D8FEDF #D8E4FE #FED8F7
square
#FEF2D8 #D8FEDF #D8E4FE #FED8F7
split-complementary
#FEF2D8 #D8F7FE #DFD8FE
monochromatic
#FBCA61 #FCDE9C #FEF2D8 #FEF5E1 #FEF5E1

Accessibility & contrast

On white

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

On black

18.91
#FEF2D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF2D8
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF2D8#FFFFFF#000000##000000
##FEF2D81.001.1118.9118.91
#FFFFFF1.111.0021.0021.00
#00000018.9121.001.001.00
##00000018.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9F1D6
Deuteranopia (green-blind)
#FCF4D9
Tritanopia (blue-blind)
#FFEDEB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef2d8;
/* rgb */ color: rgb(254, 242, 216);
/* oklch */ color: oklch(96.4% 0.036 86.2);
Tailwind
colors: {
  custom: {
    50: '#fff6e4',
    500: '#fef2d8',
    950: '#000000',
  },
}
SCSS
$custom: #fef2d8;
$custom-light: #fff6e4;
$custom-dark: #000000;
JSON
{
  "hex": "#fef2d8",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 216
  },
  "hsl": {
    "h": 41.053,
    "s": 95,
    "l": 92.157
  },
  "oklch": {
    "l": 0.96382,
    "c": 0.03642,
    "h": 86.2
  },
  "luminance": 0.89533
}

Semantic roles & 50–950 ramp

primary
#FEF2D8
secondary
#91ADE9
accent
#48E600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF2D8

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

Preview Lab → · Contrast checker → · Palette generator →

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