#FEF8D5#FEF8D5

#FEF8D5 is a very light, muted yellow. Relative luminance 0.930; OKLCH L 97.5% C 0.046 H 99.2°. Best body text is #000000 at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#FEF8D5
RGBrgb(254, 248, 213)
HSLhsl(51, 95%, 92%)
HSVhsv(51, 16%, 100%)
CMYKcmyk(0%, 2.4%, 16.1%, 0.4%)
CIE-LABlab(97.23, -3.62, 17.55)
CIE-LCHlch(97.23, 17.92, 101.66°)
OKLaboklab(97.49% -0.0073 0.0453)
OKLCHoklch(97.49% 0.046 99.2)
XYZxyz(86.4499, 93.0108, 76.3366)
Luminance0.9301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF8D5 #D5DBFE
analogous
#FEE4D5 #FEF8D5 #F0FED5
triadic
#FEF8D5 #D5FEF8 #F8D5FE
tetradic
#FEF8D5 #D5FEE4 #D5DBFE #FED5F0
square
#FEF8D5 #D5FEE4 #D5DBFE #FED5F0
split-complementary
#FEF8D5 #D5F0FE #E4D5FE
monochromatic
#FBE45D #FDEE99 #FEF8D5 #FEFAE1 #FEFAE1

Accessibility & contrast

On white

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

On black

19.60
#FEF8D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF8D5
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF8D5#FFFFFF#000000##000000
##FEF8D51.001.0719.6019.60
#FFFFFF1.071.0021.0021.00
#00000019.6021.001.001.00
##00000019.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6D3
Deuteranopia (green-blind)
#FFF8D6
Tritanopia (blue-blind)
#FFF3EE
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fef8d5;
/* rgb */ color: rgb(254, 248, 213);
/* oklch */ color: oklch(97.5% 0.046 99.2);
Tailwind
colors: {
  custom: {
    50: '#fffae2',
    500: '#fef8d5',
    950: '#000000',
  },
}
SCSS
$custom: #fef8d5;
$custom-light: #fffae2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef8d5",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 213
  },
  "hsl": {
    "h": 51.22,
    "s": 95.349,
    "l": 91.569
  },
  "oklch": {
    "l": 0.97487,
    "c": 0.04588,
    "h": 99.2
  },
  "luminance": 0.9301
}

Semantic roles & 50–950 ramp

primary
#FEF8D5
secondary
#8F9CE9
accent
#22E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF8D5

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

Preview Lab → · Contrast checker → · Palette generator →

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