#FEF2DF#FEF2DF

#FEF2DF is a very light, muted orange. Relative luminance 0.899; OKLCH L 96.6% C 0.028 H 79.5°. Best body text is #000000 at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#FEF2DF
RGBrgb(254, 242, 223)
HSLhsl(37, 94%, 94%)
HSVhsv(37, 12%, 100%)
CMYKcmyk(0%, 4.7%, 12.2%, 0.4%)
CIE-LABlab(95.96, 0.93, 10.61)
CIE-LCHlch(95.96, 10.65, 85.02°)
OKLaboklab(96.55% 0.0052 0.0277)
OKLCHoklch(96.55% 0.028 79.5)
XYZxyz(85.9433, 89.9039, 82.6234)
Luminance0.8990 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF2DF #DFEBFE
analogous
#FEE2DF #FEF2DF #FAFEDF
triadic
#FEF2DF #DFFEF2 #F2DFFE
tetradic
#FEF2DF #DFFEE2 #DFEBFE #FEDFFA
square
#FEF2DF #DFFEE2 #DFEBFE #FEDFFA
split-complementary
#FEF2DF #DFFAFE #E2DFFE
monochromatic
#FAC268 #FCDAA4 #FEF2DF #FEF3E1 #FEF3E1

Accessibility & contrast

On white

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

On black

18.98
#FEF2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF2DF
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF2DF#FFFFFF#000000##000000
##FEF2DF1.001.1118.9818.98
#FFFFFF1.111.0021.0021.00
#00000018.9821.001.001.00
##00000018.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef2df;
/* rgb */ color: rgb(254, 242, 223);
/* oklch */ color: oklch(96.6% 0.028 79.5);
Tailwind
colors: {
  custom: {
    50: '#fef6e9',
    500: '#fef2df',
    950: '#000000',
  },
}
SCSS
$custom: #fef2df;
$custom-light: #fef6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#fef2df",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 223
  },
  "hsl": {
    "h": 36.774,
    "s": 93.939,
    "l": 93.529
  },
  "oklch": {
    "l": 0.96553,
    "c": 0.02817,
    "h": 79.5
  },
  "luminance": 0.89903
}

Semantic roles & 50–950 ramp

primary
#FEF2DF
secondary
#98B7EA
accent
#59E600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#181716
muted
#868584

Preview Lab

Preview with #FEF2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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