#FEF8D6#FEF8D6

#FEF8D6 is a very light, muted yellow. Relative luminance 0.931; OKLCH L 97.5% C 0.045 H 98.9°. Best body text is #000000 at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#FEF8D6
RGBrgb(254, 248, 214)
HSLhsl(51, 95%, 92%)
HSVhsv(51, 16%, 100%)
CMYKcmyk(0%, 2.4%, 15.7%, 0.4%)
CIE-LABlab(97.25, -3.47, 17.07)
CIE-LCHlch(97.25, 17.42, 101.50°)
OKLaboklab(97.51% -0.0069 0.0441)
OKLCHoklch(97.51% 0.045 98.9)
XYZxyz(86.5772, 93.0617, 77.0071)
Luminance0.9306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF8D6 #D6DCFE
analogous
#FEE4D6 #FEF8D6 #F0FED6
triadic
#FEF8D6 #D6FEF8 #F8D6FE
tetradic
#FEF8D6 #D6FEE4 #D6DCFE #FED6F0
square
#FEF8D6 #D6FEE4 #D6DCFE #FED6F0
split-complementary
#FEF8D6 #D6F0FE #E4D6FE
monochromatic
#FBE45F #FDEE9A #FEF8D6 #FEFAE1 #FEFAE1

Accessibility & contrast

On white

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

On black

19.61
#FEF8D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF8D6
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF8D6#FFFFFF#000000##000000
##FEF8D61.001.0719.6119.61
#FFFFFF1.071.0021.0021.00
#00000019.6121.001.001.00
##00000019.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef8d6;
/* rgb */ color: rgb(254, 248, 214);
/* oklch */ color: oklch(97.5% 0.045 98.9);
Tailwind
colors: {
  custom: {
    50: '#fffae2',
    500: '#fef8d6',
    950: '#000000',
  },
}
SCSS
$custom: #fef8d6;
$custom-light: #fffae2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef8d6",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 214
  },
  "hsl": {
    "h": 51,
    "s": 95.238,
    "l": 91.765
  },
  "oklch": {
    "l": 0.9751,
    "c": 0.04463,
    "h": 98.9
  },
  "luminance": 0.93061
}

Semantic roles & 50–950 ramp

primary
#FEF8D6
secondary
#909DE9
accent
#22E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF8D6

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

Preview Lab → · Contrast checker → · Palette generator →

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