#FDF7CB#FDF7CB

#FDF7CB is a very light, muted yellow. Relative luminance 0.917; OKLCH L 97.0% C 0.057 H 101.0°. Best body text is #000000 at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#FDF7CB
RGBrgb(253, 247, 203)
HSLhsl(53, 93%, 89%)
HSVhsv(53, 20%, 99%)
CMYKcmyk(0%, 2.4%, 19.8%, 0.8%)
CIE-LABlab(96.70, -4.93, 21.92)
CIE-LCHlch(96.70, 22.47, 102.67°)
OKLaboklab(96.99% -0.0109 0.0561)
OKLCHoklch(96.99% 0.057 101)
XYZxyz(84.5479, 91.7172, 69.7376)
Luminance0.9172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF7CB #CBD1FD
analogous
#FDDECB #FDF7CB #EAFDCB
triadic
#FDF7CB #CBFDF7 #F7CBFD
tetradic
#FDF7CB #CBFDDE #CBD1FD #FDCBEA
square
#FDF7CB #CBFDDE #CBD1FD #FDCBEA
split-complementary
#FDF7CB #CBEAFD #DECBFD
monochromatic
#F8E555 #FBEE90 #FDF7CB #FEFAE2 #FEFAE2

Accessibility & contrast

On white

1.09
#FDF7CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.34
#FDF7CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF7CB
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF7CB#FFFFFF#000000##000000
##FDF7CB1.001.0919.3419.34
#FFFFFF1.091.0021.0021.00
#00000019.3421.001.001.00
##00000019.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4C8
Deuteranopia (green-blind)
#FFF7CC
Tritanopia (blue-blind)
#FFF1EB
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fdf7cb;
/* rgb */ color: rgb(253, 247, 203);
/* oklch */ color: oklch(97.0% 0.057 101.0);
Tailwind
colors: {
  custom: {
    50: '#fef9db',
    500: '#fdf7cb',
    950: '#000000',
  },
}
SCSS
$custom: #fdf7cb;
$custom-light: #fef9db;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf7cb",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 203
  },
  "hsl": {
    "h": 52.8,
    "s": 92.593,
    "l": 89.412
  },
  "oklch": {
    "l": 0.96986,
    "c": 0.05716,
    "h": 101
  },
  "luminance": 0.91716
}

Semantic roles & 50–950 ramp

primary
#FDF7CB
secondary
#8792E5
accent
#1CE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181715
muted
#868584

Preview Lab

Preview with #FDF7CB

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

Preview Lab → · Contrast checker → · Palette generator →

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