#FFF8DA#FFF8DA

#FFF8DA is a very light, muted yellow. Relative luminance 0.935; OKLCH L 97.7% C 0.040 H 96.2°. Best body text is #000000 at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#FFF8DA
RGBrgb(255, 248, 218)
HSLhsl(49, 100%, 93%)
HSVhsv(49, 15%, 100%)
CMYKcmyk(0%, 2.7%, 14.5%, 0%)
CIE-LABlab(97.41, -2.52, 15.26)
CIE-LCHlch(97.41, 15.47, 99.38°)
OKLaboklab(97.68% -0.0043 0.0395)
OKLCHoklch(97.68% 0.04 96.2)
XYZxyz(87.4613, 93.4578, 79.7478)
Luminance0.9346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF8DA #DAE1FF
analogous
#FFE5DA #FFF8DA #F3FFDA
triadic
#FFF8DA #DAFFF8 #F8DAFF
tetradic
#FFF8DA #DAFFE5 #DAE1FF #FFDAF3
square
#FFF8DA #DAFFE5 #DAE1FF #FFDAF3
split-complementary
#FFF8DA #DAF3FF #E5DAFF
monochromatic
#FFE160 #FFEC9D #FFF8DA #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

19.69
#FFF8DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF8DA
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF8DA#FFFFFF#000000##000000
##FFF8DA1.001.0719.6919.69
#FFFFFF1.071.0021.0021.00
#00000019.6921.001.001.00
##00000019.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6D8
Deuteranopia (green-blind)
#FFF9DB
Tritanopia (blue-blind)
#FFF3EF
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fff8da;
/* rgb */ color: rgb(255, 248, 218);
/* oklch */ color: oklch(97.7% 0.040 96.2);
Tailwind
colors: {
  custom: {
    50: '#fffae5',
    500: '#fff8da',
    950: '#000000',
  },
}
SCSS
$custom: #fff8da;
$custom-light: #fffae5;
$custom-dark: #000000;
JSON
{
  "hex": "#fff8da",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 218
  },
  "hsl": {
    "h": 48.649,
    "s": 100,
    "l": 92.745
  },
  "oklch": {
    "l": 0.97682,
    "c": 0.03976,
    "h": 96.2
  },
  "luminance": 0.93457
}

Semantic roles & 50–950 ramp

primary
#FFF8DA
secondary
#92A3EC
accent
#2BE600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181715
muted
#868584

Preview Lab

Preview with #FFF8DA

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

Preview Lab → · Contrast checker → · Palette generator →

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