#FEF2D4#FEF2D4

#FEF2D4 is a very light, muted orange. Relative luminance 0.893; OKLCH L 96.3% C 0.041 H 88.8°. Best body text is #000000 at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#FEF2D4
RGBrgb(254, 242, 212)
HSLhsl(43, 95%, 91%)
HSVhsv(43, 17%, 100%)
CMYKcmyk(0%, 4.7%, 16.5%, 0.4%)
CIE-LABlab(95.72, -0.75, 15.94)
CIE-LCHlch(95.72, 15.95, 92.70°)
OKLaboklab(96.29% 0.0009 0.0412)
OKLCHoklch(96.29% 0.041 88.8)
XYZxyz(84.5082, 89.3299, 75.0651)
Luminance0.8933 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF2D4 #D4E0FE
analogous
#FEDDD4 #FEF2D4 #F5FED4
triadic
#FEF2D4 #D4FEF2 #F2D4FE
tetradic
#FEF2D4 #D4FEDD #D4E0FE #FED4F5
square
#FEF2D4 #D4FEDD #D4E0FE #FED4F5
split-complementary
#FEF2D4 #D4F5FE #DDD4FE
monochromatic
#FBCE5C #FDE098 #FEF2D4 #FEF6E1 #FEF6E1

Accessibility & contrast

On white

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

On black

18.87
#FEF2D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF2D4
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF2D4#FFFFFF#000000##000000
##FEF2D41.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9F1D2
Deuteranopia (green-blind)
#FDF4D5
Tritanopia (blue-blind)
#FFEDE9
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef2d4;
/* rgb */ color: rgb(254, 242, 212);
/* oklch */ color: oklch(96.3% 0.041 88.8);
Tailwind
colors: {
  custom: {
    50: '#fff6e1',
    500: '#fef2d4',
    950: '#000000',
  },
}
SCSS
$custom: #fef2d4;
$custom-light: #fff6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef2d4",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 212
  },
  "hsl": {
    "h": 42.857,
    "s": 95.455,
    "l": 91.373
  },
  "oklch": {
    "l": 0.96287,
    "c": 0.04124,
    "h": 88.8
  },
  "luminance": 0.89329
}

Semantic roles & 50–950 ramp

primary
#FEF2D4
secondary
#8EA8E8
accent
#42E600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF2D4

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

Preview Lab → · Contrast checker → · Palette generator →

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