#FEF8CD#FEF8CD

#FEF8CD is a very light, muted yellow. Relative luminance 0.926; OKLCH L 97.3% C 0.056 H 100.8°. Best body text is #000000 at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#FEF8CD
RGBrgb(254, 248, 205)
HSLhsl(53, 96%, 90%)
HSVhsv(53, 19%, 100%)
CMYKcmyk(0%, 2.4%, 19.3%, 0.4%)
CIE-LABlab(97.07, -4.79, 21.42)
CIE-LCHlch(97.07, 21.95, 102.60°)
OKLaboklab(97.31% -0.0104 0.0549)
OKLCHoklch(97.31% 0.056 100.8)
XYZxyz(85.4594, 92.6146, 71.1202)
Luminance0.9261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF8CD #CDD3FE
analogous
#FEDFCD #FEF8CD #ECFECD
triadic
#FEF8CD #CDFEF8 #F8CDFE
tetradic
#FEF8CD #CDFEDF #CDD3FE #FECDEC
square
#FEF8CD #CDFEDF #CDD3FE #FECDEC
split-complementary
#FEF8CD #CDECFE #DFCDFE
monochromatic
#FCE755 #FDF091 #FEF8CD #FEFBE1 #FEFBE1

Accessibility & contrast

On white

1.08
#FEF8CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.52
#FEF8CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF8CD
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF8CD#FFFFFF#000000##000000
##FEF8CD1.001.0819.5219.52
#FFFFFF1.081.0021.0021.00
#00000019.5221.001.001.00
##00000019.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5CA
Deuteranopia (green-blind)
#FFF8CE
Tritanopia (blue-blind)
#FFF2EC
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fef8cd;
/* rgb */ color: rgb(254, 248, 205);
/* oklch */ color: oklch(97.3% 0.056 100.8);
Tailwind
colors: {
  custom: {
    50: '#fffadc',
    500: '#fef8cd',
    950: '#000000',
  },
}
SCSS
$custom: #fef8cd;
$custom-light: #fffadc;
$custom-dark: #000000;
JSON
{
  "hex": "#fef8cd",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 205
  },
  "hsl": {
    "h": 52.653,
    "s": 96.078,
    "l": 90
  },
  "oklch": {
    "l": 0.97307,
    "c": 0.05589,
    "h": 100.8
  },
  "luminance": 0.92613
}

Semantic roles & 50–950 ramp

primary
#FEF8CD
secondary
#8893E8
accent
#1CE600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF8CD

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

Preview Lab → · Contrast checker → · Palette generator →

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