#FEF8EA#FEF8EA

#FEF8EA is a very light, near-neutral orange. Relative luminance 0.941; OKLCH L 98.0% C 0.020 H 87.5°. Best body text is #000000 at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#FEF8EA
RGBrgb(254, 248, 234)
HSLhsl(42, 91%, 96%)
HSVhsv(42, 8%, 100%)
CMYKcmyk(0%, 2.4%, 7.9%, 0.4%)
CIE-LABlab(97.69, -0.35, 7.43)
CIE-LCHlch(97.69, 7.44, 92.73°)
OKLaboklab(98% 0.0009 0.0195)
OKLCHoklch(98% 0.02 87.5)
XYZxyz(89.2899, 94.1468, 91.2942)
Luminance0.9415 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF8EA #EAF0FE
analogous
#FEEEEA #FEF8EA #FAFEEA
triadic
#FEF8EA #EAFEF8 #F8EAFE
tetradic
#FEF8EA #EAFEEE #EAF0FE #FEEAFA
square
#FEF8EA #EAFEEE #EAF0FE #FEEAFA
split-complementary
#FEF8EA #EAFAFE #EEEAFE
monochromatic
#F8D175 #FBE5B0 #FEF5E2 #FEF5E2 #FEF5E2

Accessibility & contrast

On white

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

On black

19.83
#FEF8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF8EA
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF8EA#FFFFFF#000000##000000
##FEF8EA1.001.0619.8319.83
#FFFFFF1.061.0021.0021.00
#00000019.8321.001.001.00
##00000019.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef8ea;
/* rgb */ color: rgb(254, 248, 234);
/* oklch */ color: oklch(98.0% 0.020 87.5);
Tailwind
colors: {
  custom: {
    50: '#fefaf0',
    500: '#fef8ea',
    950: '#000000',
  },
}
SCSS
$custom: #fef8ea;
$custom-light: #fefaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#fef8ea",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 234
  },
  "hsl": {
    "h": 42,
    "s": 90.909,
    "l": 95.686
  },
  "oklch": {
    "l": 0.98,
    "c": 0.01951,
    "h": 87.5
  },
  "luminance": 0.94146
}

Semantic roles & 50–950 ramp

primary
#FEF8EA
secondary
#A2B8EA
accent
#45E600
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FEF8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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