#F7F2DB#F7F2DB

#F7F2DB is a very light, muted yellow. Relative luminance 0.884; OKLCH L 95.9% C 0.031 H 96.9°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#F7F2DB
RGBrgb(247, 242, 219)
HSLhsl(49, 64%, 91%)
HSVhsv(49, 11%, 97%)
CMYKcmyk(0%, 2%, 11.3%, 3.1%)
CIE-LABlab(95.33, -2.14, 11.70)
CIE-LCHlch(95.33, 11.89, 100.38°)
OKLaboklab(95.9% -0.0037 0.0305)
OKLCHoklch(95.9% 0.031 96.9)
XYZxyz(82.8948, 88.3937, 79.6988)
Luminance0.8839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F2DB #DBE0F7
analogous
#F7E4DB #F7F2DB #EEF7DB
triadic
#F7F2DB #DBF7F2 #F2DBF7
tetradic
#F7F2DB #DBF7E4 #DBE0F7 #F7DBEE
square
#F7F2DB #DBF7E4 #DBE0F7 #F7DBEE
split-complementary
#F7F2DB #DBEEF7 #E4DBF7
monochromatic
#E1CE77 #ECE0A9 #F7F2DB #F9F6E6 #F9F6E6

Accessibility & contrast

On white

1.12
#F7F2DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.68
#F7F2DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F2DB
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F2DB#FFFFFF#000000##000000
##F7F2DB1.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7F0DA
Deuteranopia (green-blind)
#F9F2DC
Tritanopia (blue-blind)
#FCEEEB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7f2db;
/* rgb */ color: rgb(247, 242, 219);
/* oklch */ color: oklch(95.9% 0.031 96.9);
Tailwind
colors: {
  custom: {
    50: '#faf6e6',
    500: '#f7f2db',
    950: '#000000',
  },
}
SCSS
$custom: #f7f2db;
$custom-light: #faf6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f2db",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 219
  },
  "hsl": {
    "h": 49.286,
    "s": 63.636,
    "l": 91.373
  },
  "oklch": {
    "l": 0.95896,
    "c": 0.03069,
    "h": 96.9
  },
  "luminance": 0.88393
}

Semantic roles & 50–950 ramp

primary
#F7F2DB
secondary
#9DA8D9
accent
#3ACB1A
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#171715
muted
#858584

Preview Lab

Preview with #F7F2DB

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

Preview Lab → · Contrast checker → · Palette generator →

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