#FEF9DE#FEF9DE

#FEF9DE is a very light, muted yellow. Relative luminance 0.941; OKLCH L 97.9% C 0.036 H 98.4°. Best body text is #000000 at 19.82:1 contrast (WCAG AA passes).

Color values

HEX#FEF9DE
RGBrgb(254, 249, 222)
HSLhsl(51, 94%, 93%)
HSVhsv(51, 13%, 100%)
CMYKcmyk(0%, 2%, 12.6%, 0.4%)
CIE-LABlab(97.67, -2.76, 13.56)
CIE-LCHlch(97.67, 13.84, 101.51°)
OKLaboklab(97.9% -0.0052 0.0352)
OKLCHoklch(97.9% 0.036 98.4)
XYZxyz(87.9323, 94.0970, 82.6233)
Luminance0.9410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF9DE #DEE3FE
analogous
#FEE9DE #FEF9DE #F3FEDE
triadic
#FEF9DE #DEFEF9 #F9DEFE
tetradic
#FEF9DE #DEFEE9 #DEE3FE #FEDEF3
square
#FEF9DE #DEFEE9 #DEE3FE #FEDEF3
split-complementary
#FEF9DE #DEF3FE #E9DEFE
monochromatic
#FAE367 #FCEEA3 #FEF9DE #FEFAE1 #FEFAE1

Accessibility & contrast

On white

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

On black

19.82
#FEF9DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF9DE
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF9DE#FFFFFF#000000##000000
##FEF9DE1.001.0619.8219.82
#FFFFFF1.061.0021.0021.00
#00000019.8221.001.001.00
##00000019.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef9de;
/* rgb */ color: rgb(254, 249, 222);
/* oklch */ color: oklch(97.9% 0.036 98.4);
Tailwind
colors: {
  custom: {
    50: '#fefbe8',
    500: '#fef9de',
    950: '#000000',
  },
}
SCSS
$custom: #fef9de;
$custom-light: #fefbe8;
$custom-dark: #000000;
JSON
{
  "hex": "#fef9de",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 222
  },
  "hsl": {
    "h": 50.625,
    "s": 94.118,
    "l": 93.333
  },
  "oklch": {
    "l": 0.97895,
    "c": 0.03561,
    "h": 98.4
  },
  "luminance": 0.94096
}

Semantic roles & 50–950 ramp

primary
#FEF9DE
secondary
#97A4EA
accent
#24E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181716
muted
#868584

Preview Lab

Preview with #FEF9DE

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

Preview Lab → · Contrast checker → · Palette generator →

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