#FEF2E8#FEF2E8

#FEF2E8 is a very light, near-neutral orange. Relative luminance 0.904; OKLCH L 96.8% C 0.019 H 62.5°. Best body text is #000000 at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#FEF2E8
RGBrgb(254, 242, 232)
HSLhsl(27, 92%, 95%)
HSVhsv(27, 9%, 100%)
CMYKcmyk(0%, 4.7%, 8.7%, 0.4%)
CIE-LABlab(96.16, 2.36, 6.26)
CIE-LCHlch(96.16, 6.69, 69.33°)
OKLaboklab(96.78% 0.0086 0.0165)
OKLCHoklch(96.78% 0.019 62.5)
XYZxyz(87.1891, 90.4023, 89.1845)
Luminance0.9040 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF2E8 #E8F4FE
analogous
#FEE8E9 #FEF2E8 #FEFDE8
triadic
#FEF2E8 #E8FEF2 #F2E8FE
tetradic
#FEF2E8 #E9FEE8 #E8F4FE #FDE8FE
square
#FEF2E8 #E9FEE8 #E8F4FE #FDE8FE
split-complementary
#FEF2E8 #E8FEFD #E8E9FE
monochromatic
#F9B073 #FBD1AD #FEEEE2 #FEEEE2 #FEEEE2

Accessibility & contrast

On white

1.10
#FEF2E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.08
#FEF2E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF2E8
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF2E8#FFFFFF#000000##000000
##FEF2E81.001.1019.0819.08
#FFFFFF1.101.0021.0021.00
#00000019.0821.001.001.00
##00000019.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6F2E7
Deuteranopia (green-blind)
#F9F5E8
Tritanopia (blue-blind)
#FFF0EF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef2e8;
/* rgb */ color: rgb(254, 242, 232);
/* oklch */ color: oklch(96.8% 0.019 62.5);
Tailwind
colors: {
  custom: {
    50: '#fef6ef',
    500: '#fef2e8',
    950: '#000000',
  },
}
SCSS
$custom: #fef2e8;
$custom-light: #fef6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#fef2e8",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 232
  },
  "hsl": {
    "h": 27.273,
    "s": 91.667,
    "l": 95.294
  },
  "oklch": {
    "l": 0.96784,
    "c": 0.01858,
    "h": 62.5
  },
  "luminance": 0.90401
}

Semantic roles & 50–950 ramp

primary
#FEF2E8
secondary
#A0C8EA
accent
#7DE600
background
#FFFFFF
surface
#FFFEFE
border
#D7D6D6
text
#171716
muted
#858585

Preview Lab

Preview with #FEF2E8

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

Preview Lab → · Contrast checker → · Palette generator →

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