#FEF8EB#FEF8EB

#FEF8EB is a very light, near-neutral orange. Relative luminance 0.942; OKLCH L 98.0% C 0.018 H 86.1°. Best body text is #000000 at 19.84:1 contrast (WCAG AA passes).

Color values

HEX#FEF8EB
RGBrgb(254, 248, 235)
HSLhsl(41, 90%, 96%)
HSVhsv(41, 7%, 100%)
CMYKcmyk(0%, 2.4%, 7.5%, 0.4%)
CIE-LABlab(97.71, -0.19, 6.95)
CIE-LCHlch(97.71, 6.95, 91.57°)
OKLaboklab(98.03% 0.0012 0.0182)
OKLCHoklch(98.03% 0.018 86.1)
XYZxyz(89.4340, 94.2045, 92.0530)
Luminance0.9420 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF8EB #EBF1FE
analogous
#FEEEEB #FEF8EB #FAFEEB
triadic
#FEF8EB #EBFEF8 #F8EBFE
tetradic
#FEF8EB #EBFEEE #EBF1FE #FEEBFA
square
#FEF8EB #EBFEEE #EBF1FE #FEEBFA
split-complementary
#FEF8EB #EBFAFE #EEEBFE
monochromatic
#F8CF76 #FBE4B1 #FEF5E2 #FEF5E2 #FEF5E2

Accessibility & contrast

On white

1.06
#FEF8EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.84
#FEF8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF8EB
19.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF8EB#FFFFFF#000000##000000
##FEF8EB1.001.0619.8419.84
#FFFFFF1.061.0021.0021.00
#00000019.8421.001.001.00
##00000019.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF7EA
Deuteranopia (green-blind)
#FDF9EB
Tritanopia (blue-blind)
#FFF6F4
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fef8eb;
/* rgb */ color: rgb(254, 248, 235);
/* oklch */ color: oklch(98.0% 0.018 86.1);
Tailwind
colors: {
  custom: {
    50: '#fefaf1',
    500: '#fef8eb',
    950: '#000000',
  },
}
SCSS
$custom: #fef8eb;
$custom-light: #fefaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef8eb",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 235
  },
  "hsl": {
    "h": 41.053,
    "s": 90.476,
    "l": 95.882
  },
  "oklch": {
    "l": 0.98026,
    "c": 0.01828,
    "h": 86.1
  },
  "luminance": 0.94204
}

Semantic roles & 50–950 ramp

primary
#FEF8EB
secondary
#A3B9EA
accent
#48E600
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FEF8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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