#FFF7DB#FFF7DB

#FFF7DB is a very light, muted yellow. Relative luminance 0.929; OKLCH L 97.5% C 0.037 H 93.8°. Best body text is #000000 at 19.58:1 contrast (WCAG AA passes).

Color values

HEX#FFF7DB
RGBrgb(255, 247, 219)
HSLhsl(47, 100%, 93%)
HSVhsv(47, 14%, 100%)
CMYKcmyk(0%, 3.1%, 14.1%, 0%)
CIE-LABlab(97.19, -1.87, 14.42)
CIE-LCHlch(97.19, 14.54, 97.38°)
OKLaboklab(97.51% -0.0025 0.0374)
OKLCHoklch(97.51% 0.038 93.8)
XYZxyz(87.2859, 92.8971, 80.3368)
Luminance0.9290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF7DB #DBE3FF
analogous
#FFE5DB #FFF7DB #F5FFDB
triadic
#FFF7DB #DBFFF7 #F7DBFF
tetradic
#FFF7DB #DBFFE5 #DBE3FF #FFDBF5
square
#FFF7DB #DBFFE5 #DBE3FF #FFDBF5
split-complementary
#FFF7DB #DBF5FF #E5DBFF
monochromatic
#FFDC61 #FFE99E #FFF7DB #FFF8E0 #FFF8E0

Accessibility & contrast

On white

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

On black

19.58
#FFF7DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF7DB
19.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF7DB#FFFFFF#000000##000000
##FFF7DB1.001.0719.5819.58
#FFFFFF1.071.0021.0021.00
#00000019.5821.001.001.00
##00000019.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF5D9
Deuteranopia (green-blind)
#FFF8DC
Tritanopia (blue-blind)
#FFF2EF
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fff7db;
/* rgb */ color: rgb(255, 247, 219);
/* oklch */ color: oklch(97.5% 0.037 93.8);
Tailwind
colors: {
  custom: {
    50: '#fff9e6',
    500: '#fff7db',
    950: '#000000',
  },
}
SCSS
$custom: #fff7db;
$custom-light: #fff9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#fff7db",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 219
  },
  "hsl": {
    "h": 46.667,
    "s": 100,
    "l": 92.941
  },
  "oklch": {
    "l": 0.9751,
    "c": 0.0375,
    "h": 93.8
  },
  "luminance": 0.92896
}

Semantic roles & 50–950 ramp

primary
#FFF7DB
secondary
#92A6EC
accent
#33E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181715
muted
#868584

Preview Lab

Preview with #FFF7DB

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

Preview Lab → · Contrast checker → · Palette generator →

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