#FEF9DF#FEF9DF

#FEF9DF is a very light, muted yellow. Relative luminance 0.942; OKLCH L 97.9% C 0.034 H 98.0°. Best body text is #000000 at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#FEF9DF
RGBrgb(254, 249, 223)
HSLhsl(50, 94%, 94%)
HSVhsv(50, 12%, 100%)
CMYKcmyk(0%, 2%, 12.2%, 0.4%)
CIE-LABlab(97.69, -2.61, 13.08)
CIE-LCHlch(97.69, 13.34, 101.27°)
OKLaboklab(97.92% -0.0048 0.034)
OKLCHoklch(97.92% 0.034 98)
XYZxyz(88.0667, 94.1508, 83.3313)
Luminance0.9415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF9DF #DFE4FE
analogous
#FEE9DF #FEF9DF #F3FEDF
triadic
#FEF9DF #DFFEF9 #F9DFFE
tetradic
#FEF9DF #DFFEE9 #DFE4FE #FEDFF3
square
#FEF9DF #DFFEE9 #DFE4FE #FEDFF3
split-complementary
#FEF9DF #DFF3FE #E9DFFE
monochromatic
#FAE368 #FCEEA4 #FEF9DF #FEF9E1 #FEF9E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF9DF#FFFFFF#000000##000000
##FEF9DF1.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)
#FFF7DE
Deuteranopia (green-blind)
#FFF9E0
Tritanopia (blue-blind)
#FFF5F2
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fef9df;
/* rgb */ color: rgb(254, 249, 223);
/* oklch */ color: oklch(97.9% 0.034 98.0);
Tailwind
colors: {
  custom: {
    50: '#fefbe9',
    500: '#fef9df',
    950: '#000000',
  },
}
SCSS
$custom: #fef9df;
$custom-light: #fefbe9;
$custom-dark: #000000;
JSON
{
  "hex": "#fef9df",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 223
  },
  "hsl": {
    "h": 50.323,
    "s": 93.939,
    "l": 93.529
  },
  "oklch": {
    "l": 0.9792,
    "c": 0.03435,
    "h": 98
  },
  "luminance": 0.9415
}

Semantic roles & 50–950 ramp

primary
#FEF9DF
secondary
#98A5EA
accent
#25E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181716
muted
#868584

Preview Lab

Preview with #FEF9DF

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

Preview Lab → · Contrast checker → · Palette generator →

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