#FDF8BF#FDF8BF

#FDF8BF is a very light, moderate yellow. Relative luminance 0.918; OKLCH L 96.9% C 0.073 H 103.5°. Best body text is #000000 at 19.36:1 contrast (WCAG AA passes).

Color values

HEX#FDF8BF
RGBrgb(253, 248, 191)
HSLhsl(55, 94%, 87%)
HSVhsv(55, 25%, 99%)
CMYKcmyk(0%, 2%, 24.5%, 0.8%)
CIE-LABlab(96.73, -7.07, 28.06)
CIE-LCHlch(96.73, 28.94, 104.15°)
OKLaboklab(96.93% -0.017 0.071)
OKLCHoklch(96.93% 0.073 103.5)
XYZxyz(83.4794, 91.7804, 62.5979)
Luminance0.9178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF8BF #BFC4FD
analogous
#FDD9BF #FDF8BF #E3FDBF
triadic
#FDF8BF #BFFDF8 #F8BFFD
tetradic
#FDF8BF #BFFDD9 #BFC4FD #FDBFE3
square
#FDF8BF #BFFDD9 #BFC4FD #FDBFE3
split-complementary
#FDF8BF #BFE3FD #D9BFFD
monochromatic
#F9EB48 #FBF284 #FDF8BF #FEFCE1 #FEFCE1

Accessibility & contrast

On white

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

On black

19.36
#FDF8BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF8BF
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF8BF#FFFFFF#000000##000000
##FDF8BF1.001.0819.3619.36
#FFFFFF1.081.0021.0021.00
#00000019.3621.001.001.00
##00000019.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4BB
Deuteranopia (green-blind)
#FFF7C1
Tritanopia (blue-blind)
#FFF0E9
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fdf8bf;
/* rgb */ color: rgb(253, 248, 191);
/* oklch */ color: oklch(96.9% 0.073 103.5);
Tailwind
colors: {
  custom: {
    50: '#fefad2',
    500: '#fdf8bf',
    950: '#000000',
  },
}
SCSS
$custom: #fdf8bf;
$custom-light: #fefad2;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf8bf",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 191
  },
  "hsl": {
    "h": 55.161,
    "s": 93.939,
    "l": 87.059
  },
  "oklch": {
    "l": 0.96932,
    "c": 0.07304,
    "h": 103.5
  },
  "luminance": 0.91779
}

Semantic roles & 50–950 ramp

primary
#FDF8BF
secondary
#7C85E4
accent
#13E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FDF8BF

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

Preview Lab → · Contrast checker → · Palette generator →

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