#FDF8CB#FDF8CB

#FDF8CB is a very light, muted yellow. Relative luminance 0.923; OKLCH L 97.2% C 0.058 H 102.2°. Best body text is #000000 at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#FDF8CB
RGBrgb(253, 248, 203)
HSLhsl(54, 93%, 89%)
HSVhsv(54, 20%, 99%)
CMYKcmyk(0%, 2%, 19.8%, 0.8%)
CIE-LABlab(96.96, -5.43, 22.27)
CIE-LCHlch(96.96, 22.92, 103.70°)
OKLaboklab(97.18% -0.0123 0.057)
OKLCHoklch(97.18% 0.058 102.2)
XYZxyz(84.8545, 92.3304, 69.8398)
Luminance0.9233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF8CB #CBD0FD
analogous
#FDDFCB #FDF8CB #E9FDCB
triadic
#FDF8CB #CBFDF8 #F8CBFD
tetradic
#FDF8CB #CBFDDF #CBD0FD #FDCBE9
square
#FDF8CB #CBFDDF #CBD0FD #FDCBE9
split-complementary
#FDF8CB #CBE9FD #DFCBFD
monochromatic
#F8E855 #FBF090 #FDF8CB #FEFBE2 #FEFBE2

Accessibility & contrast

On white

1.08
#FDF8CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.47
#FDF8CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF8CB
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF8CB#FFFFFF#000000##000000
##FDF8CB1.001.0819.4719.47
#FFFFFF1.081.0021.0021.00
#00000019.4721.001.001.00
##00000019.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5C8
Deuteranopia (green-blind)
#FFF8CD
Tritanopia (blue-blind)
#FFF2EC
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fdf8cb;
/* rgb */ color: rgb(253, 248, 203);
/* oklch */ color: oklch(97.2% 0.058 102.2);
Tailwind
colors: {
  custom: {
    50: '#fefadb',
    500: '#fdf8cb',
    950: '#000000',
  },
}
SCSS
$custom: #fdf8cb;
$custom-light: #fefadb;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf8cb",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 203
  },
  "hsl": {
    "h": 54,
    "s": 92.593,
    "l": 89.412
  },
  "oklch": {
    "l": 0.97184,
    "c": 0.05829,
    "h": 102.2
  },
  "luminance": 0.92329
}

Semantic roles & 50–950 ramp

primary
#FDF8CB
secondary
#8790E5
accent
#17E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181715
muted
#868584

Preview Lab

Preview with #FDF8CB

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

Preview Lab → · Contrast checker → · Palette generator →

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