#FEF8DE#FEF8DE

#FEF8DE is a very light, muted yellow. Relative luminance 0.935; OKLCH L 97.7% C 0.035 H 96.3°. Best body text is #000000 at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#FEF8DE
RGBrgb(254, 248, 222)
HSLhsl(49, 94%, 93%)
HSVhsv(49, 13%, 100%)
CMYKcmyk(0%, 2.4%, 12.6%, 0.4%)
CIE-LABlab(97.42, -2.26, 13.21)
CIE-LCHlch(97.42, 13.40, 99.71°)
OKLaboklab(97.7% -0.0038 0.0343)
OKLCHoklch(97.7% 0.035 96.3)
XYZxyz(87.6240, 93.4805, 82.5206)
Luminance0.9348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF8DE #DEE4FE
analogous
#FEE8DE #FEF8DE #F4FEDE
triadic
#FEF8DE #DEFEF8 #F8DEFE
tetradic
#FEF8DE #DEFEE8 #DEE4FE #FEDEF4
square
#FEF8DE #DEFEE8 #DEE4FE #FEDEF4
split-complementary
#FEF8DE #DEF4FE #E8DEFE
monochromatic
#FADF67 #FCEBA3 #FEF8DE #FEF9E1 #FEF9E1

Accessibility & contrast

On white

1.07
#FEF8DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.70
#FEF8DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF8DE
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF8DE#FFFFFF#000000##000000
##FEF8DE1.001.0719.7019.70
#FFFFFF1.071.0021.0021.00
#00000019.7021.001.001.00
##00000019.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEF6DD
Deuteranopia (green-blind)
#FFF9DF
Tritanopia (blue-blind)
#FFF4F1
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fef8de;
/* rgb */ color: rgb(254, 248, 222);
/* oklch */ color: oklch(97.7% 0.035 96.3);
Tailwind
colors: {
  custom: {
    50: '#fefae8',
    500: '#fef8de',
    950: '#000000',
  },
}
SCSS
$custom: #fef8de;
$custom-light: #fefae8;
$custom-dark: #000000;
JSON
{
  "hex": "#fef8de",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 222
  },
  "hsl": {
    "h": 48.75,
    "s": 94.118,
    "l": 93.333
  },
  "oklch": {
    "l": 0.97699,
    "c": 0.03454,
    "h": 96.3
  },
  "luminance": 0.9348
}

Semantic roles & 50–950 ramp

primary
#FEF8DE
secondary
#97A6EA
accent
#2BE600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181716
muted
#868584

Preview Lab

Preview with #FEF8DE

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

Preview Lab → · Contrast checker → · Palette generator →

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