#FDF8BB#FDF8BB

#FDF8BB is a very light, moderate yellow. Relative luminance 0.916; OKLCH L 96.9% C 0.078 H 103.8°. Best body text is #000000 at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#FDF8BB
RGBrgb(253, 248, 187)
HSLhsl(55, 94%, 86%)
HSVhsv(55, 26%, 99%)
CMYKcmyk(0%, 2%, 26.1%, 0.8%)
CIE-LABlab(96.66, -7.60, 29.99)
CIE-LCHlch(96.66, 30.94, 104.22°)
OKLaboklab(96.85% -0.0186 0.0756)
OKLCHoklch(96.85% 0.078 103.8)
XYZxyz(83.0452, 91.6067, 60.3112)
Luminance0.9161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF8BB #BBC0FD
analogous
#FDD7BB #FDF8BB #E1FDBB
triadic
#FDF8BB #BBFDF8 #F8BBFD
tetradic
#FDF8BB #BBFDD7 #BBC0FD #FDBBE1
square
#FDF8BB #BBFDD7 #BBC0FD #FDBBE1
split-complementary
#FDF8BB #BBE1FD #D7BBFD
monochromatic
#FAEC44 #FBF280 #FDF8BB #FEFCE1 #FEFCE1

Accessibility & contrast

On white

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

On black

19.32
#FDF8BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF8BB
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF8BB#FFFFFF#000000##000000
##FDF8BB1.001.0919.3219.32
#FFFFFF1.091.0021.0021.00
#00000019.3221.001.001.00
##00000019.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3B7
Deuteranopia (green-blind)
#FFF7BD
Tritanopia (blue-blind)
#FFF0E8
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fdf8bb;
/* rgb */ color: rgb(253, 248, 187);
/* oklch */ color: oklch(96.9% 0.078 103.8);
Tailwind
colors: {
  custom: {
    50: '#fefacf',
    500: '#fdf8bb',
    950: '#000000',
  },
}
SCSS
$custom: #fdf8bb;
$custom-light: #fefacf;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf8bb",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 187
  },
  "hsl": {
    "h": 55.455,
    "s": 94.286,
    "l": 86.275
  },
  "oklch": {
    "l": 0.96852,
    "c": 0.07789,
    "h": 103.8
  },
  "luminance": 0.91605
}

Semantic roles & 50–950 ramp

primary
#FDF8BB
secondary
#7981E3
accent
#11E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FDF8BB

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

Preview Lab → · Contrast checker → · Palette generator →

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