#FFFFD8#FFFFD8

#FFFFD8 is a very light, muted yellow. Relative luminance 0.977; OKLCH L 99.0% C 0.050 H 107.3°. Best body text is #000000 at 20.55:1 contrast (WCAG AA passes).

Color values

HEX#FFFFD8
RGBrgb(255, 255, 216)
HSLhsl(60, 100%, 92%)
HSVhsv(60, 15%, 100%)
CMYKcmyk(0%, 0%, 15.3%, 0%)
CIE-LABlab(99.12, -6.32, 18.68)
CIE-LCHlch(99.12, 19.72, 108.69°)
OKLaboklab(99.02% -0.015 0.0481)
OKLCHoklch(99.02% 0.05 107.3)
XYZxyz(89.3936, 97.7387, 79.1086)
Luminance0.9774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFD8 #D8D8FF
analogous
#FFECD8 #FFFFD8 #ECFFD8
triadic
#FFFFD8 #D8FFFF #FFD8FF
tetradic
#FFFFD8 #D8FFEC #D8D8FF #FFD8EC
square
#FFFFD8 #D8FFEC #D8D8FF #FFD8EC
split-complementary
#FFFFD8 #D8ECFF #ECD8FF
monochromatic
#FFFF5E #FFFF9B #FFFFD8 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

1.02
#FFFFD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.55
#FFFFD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFD8
20.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFD8#FFFFFF#000000##000000
##FFFFD81.001.0220.5520.55
#FFFFFF1.021.0021.0021.00
#00000020.5521.001.001.00
##00000020.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffffd8;
/* rgb */ color: rgb(255, 255, 216);
/* oklch */ color: oklch(99.0% 0.050 107.3);
Tailwind
colors: {
  custom: {
    50: '#ffffe4',
    500: '#ffffd8',
    950: '#000000',
  },
}
SCSS
$custom: #ffffd8;
$custom-light: #ffffe4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffffd8",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 216
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 92.353
  },
  "oklch": {
    "l": 0.99015,
    "c": 0.05041,
    "h": 107.3
  },
  "luminance": 0.97738
}

Semantic roles & 50–950 ramp

primary
#FFFFD8
secondary
#9090EB
accent
#00E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181815
muted
#868684

Preview Lab

Preview with #FFFFD8

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

Preview Lab → · Contrast checker → · Palette generator →

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