#FFFED8#FFFED8

#FFFED8 is a very light, muted yellow. Relative luminance 0.971; OKLCH L 98.8% C 0.049 H 106.0°. Best body text is #000000 at 20.42:1 contrast (WCAG AA passes).

Color values

HEX#FFFED8
RGBrgb(255, 254, 216)
HSLhsl(58, 100%, 92%)
HSVhsv(58, 15%, 100%)
CMYKcmyk(0%, 0.4%, 15.3%, 0%)
CIE-LABlab(98.87, -5.82, 18.33)
CIE-LCHlch(98.87, 19.23, 107.62°)
OKLaboklab(98.82% -0.0136 0.0473)
OKLCHoklch(98.82% 0.049 106)
XYZxyz(89.0755, 97.1023, 79.0025)
Luminance0.9710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFED8 #D8D9FF
analogous
#FFEBD8 #FFFED8 #ECFFD8
triadic
#FFFED8 #D8FFFE #FED8FF
tetradic
#FFFED8 #D8FFEB #D8D9FF #FFD8EC
square
#FFFED8 #D8FFEB #D8D9FF #FFD8EC
split-complementary
#FFFED8 #D8ECFF #EBD8FF
monochromatic
#FFFB5E #FFFC9B #FFFED8 #FFFEE0 #FFFEE0

Accessibility & contrast

On white

1.03
#FFFED8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.42
#FFFED8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFED8
20.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFED8#FFFFFF#000000##000000
##FFFED81.001.0320.4220.42
#FFFFFF1.031.0021.0021.00
#00000020.4221.001.001.00
##00000020.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFBD6
Deuteranopia (green-blind)
#FFFDD9
Tritanopia (blue-blind)
#FFF9F3
Achromatopsia (no color)
#FCFCFC

Design tokens & code

CSS
--color: #fffed8;
/* rgb */ color: rgb(255, 254, 216);
/* oklch */ color: oklch(98.8% 0.049 106.0);
Tailwind
colors: {
  custom: {
    50: '#fffee4',
    500: '#fffed8',
    950: '#000000',
  },
}
SCSS
$custom: #fffed8;
$custom-light: #fffee4;
$custom-dark: #000000;
JSON
{
  "hex": "#fffed8",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 216
  },
  "hsl": {
    "h": 58.462,
    "s": 100,
    "l": 92.353
  },
  "oklch": {
    "l": 0.98817,
    "c": 0.04916,
    "h": 106
  },
  "luminance": 0.97101
}

Semantic roles & 50–950 ramp

primary
#FFFED8
secondary
#9092EB
accent
#06E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181715
muted
#868584

Preview Lab

Preview with #FFFED8

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

Preview Lab → · Contrast checker → · Palette generator →

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