#FEFDB8#FEFDB8

#FEFDB8 is a very light, moderate yellow. Relative luminance 0.948; OKLCH L 97.9% C 0.087 H 107.2°. Best body text is #000000 at 19.96:1 contrast (WCAG AA passes).

Color values

HEX#FEFDB8
RGBrgb(254, 253, 184)
HSLhsl(59, 97%, 86%)
HSVhsv(59, 28%, 100%)
CMYKcmyk(0%, 0.4%, 27.6%, 0.4%)
CIE-LABlab(97.95, -10.09, 33.25)
CIE-LCHlch(97.95, 34.74, 106.88°)
OKLaboklab(97.87% -0.0258 0.0834)
OKLCHoklch(97.87% 0.087 107.2)
XYZxyz(84.6503, 94.7834, 59.1738)
Luminance0.9478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFDB8 #B8B9FE
analogous
#FEDAB8 #FEFDB8 #DCFEB8
triadic
#FEFDB8 #B8FEFD #FDB8FE
tetradic
#FEFDB8 #B8FEDA #B8B9FE #FEB8DC
square
#FEFDB8 #B8FEDA #B8B9FE #FEB8DC
split-complementary
#FEFDB8 #B8DCFE #DAB8FE
monochromatic
#FCFA3F #FDFB7C #FEFDB8 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

1.05
#FEFDB8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.96
#FEFDB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFDB8
19.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFDB8#FFFFFF#000000##000000
##FEFDB81.001.0519.9619.96
#FFFFFF1.051.0021.0021.00
#00000019.9621.001.001.00
##00000019.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7B3
Deuteranopia (green-blind)
#FFFBBB
Tritanopia (blue-blind)
#FFF4EB
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fefdb8;
/* rgb */ color: rgb(254, 253, 184);
/* oklch */ color: oklch(97.9% 0.087 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffecd',
    500: '#fefdb8',
    950: '#000000',
  },
}
SCSS
$custom: #fefdb8;
$custom-light: #fffecd;
$custom-dark: #000000;
JSON
{
  "hex": "#fefdb8",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 184
  },
  "hsl": {
    "h": 59.143,
    "s": 97.222,
    "l": 85.882
  },
  "oklch": {
    "l": 0.97874,
    "c": 0.08728,
    "h": 107.2
  },
  "luminance": 0.94782
}

Semantic roles & 50–950 ramp

primary
#FEFDB8
secondary
#7577E5
accent
#03E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181713
muted
#868583

Preview Lab

Preview with #FEFDB8

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

Preview Lab → · Contrast checker → · Palette generator →

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