#FFF8DB#FFF8DB

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

Color values

HEX#FFF8DB
RGBrgb(255, 248, 219)
HSLhsl(48, 100%, 93%)
HSVhsv(48, 14%, 100%)
CMYKcmyk(0%, 2.7%, 14.1%, 0%)
CIE-LABlab(97.43, -2.37, 14.78)
CIE-LCHlch(97.43, 14.96, 99.11°)
OKLaboklab(97.71% -0.0039 0.0383)
OKLCHoklch(97.71% 0.039 95.8)
XYZxyz(87.5926, 93.5103, 80.4390)
Luminance0.9351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF8DB #DBE2FF
analogous
#FFE6DB #FFF8DB #F4FFDB
triadic
#FFF8DB #DBFFF8 #F8DBFF
tetradic
#FFF8DB #DBFFE6 #DBE2FF #FFDBF4
square
#FFF8DB #DBFFE6 #DBE2FF #FFDBF4
split-complementary
#FFF8DB #DBF4FF #E6DBFF
monochromatic
#FFE061 #FFEC9E #FFF8DB #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

19.70
#FFF8DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF8DB
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF8DB#FFFFFF#000000##000000
##FFF8DB1.001.0719.7019.70
#FFFFFF1.071.0021.0021.00
#00000019.7021.001.001.00
##00000019.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEF6D9
Deuteranopia (green-blind)
#FFF9DC
Tritanopia (blue-blind)
#FFF3F0
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fff8db;
/* rgb */ color: rgb(255, 248, 219);
/* oklch */ color: oklch(97.7% 0.039 95.8);
Tailwind
colors: {
  custom: {
    50: '#fffae6',
    500: '#fff8db',
    950: '#000000',
  },
}
SCSS
$custom: #fff8db;
$custom-light: #fffae6;
$custom-dark: #000000;
JSON
{
  "hex": "#fff8db",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 219
  },
  "hsl": {
    "h": 48.333,
    "s": 100,
    "l": 92.941
  },
  "oklch": {
    "l": 0.97706,
    "c": 0.03851,
    "h": 95.8
  },
  "luminance": 0.93509
}

Semantic roles & 50–950 ramp

primary
#FFF8DB
secondary
#92A4EC
accent
#2DE600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181715
muted
#868584

Preview Lab

Preview with #FFF8DB

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

Preview Lab → · Contrast checker → · Palette generator →

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