#FDF7BB#FDF7BB

#FDF7BB is a very light, moderate yellow. Relative luminance 0.910; OKLCH L 96.7% C 0.077 H 102.9°. Best body text is #000000 at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#FDF7BB
RGBrgb(253, 247, 187)
HSLhsl(55, 94%, 86%)
HSVhsv(55, 26%, 99%)
CMYKcmyk(0%, 2.4%, 26.1%, 0.8%)
CIE-LABlab(96.41, -7.10, 29.65)
CIE-LCHlch(96.41, 30.49, 103.47°)
OKLaboklab(96.65% -0.0172 0.0748)
OKLCHoklch(96.65% 0.077 102.9)
XYZxyz(82.7386, 90.9935, 60.2090)
Luminance0.9099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF7BB #BBC1FD
analogous
#FDD6BB #FDF7BB #E2FDBB
triadic
#FDF7BB #BBFDF7 #F7BBFD
tetradic
#FDF7BB #BBFDD6 #BBC1FD #FDBBE2
square
#FDF7BB #BBFDD6 #BBC1FD #FDBBE2
split-complementary
#FDF7BB #BBE2FD #D6BBFD
monochromatic
#FAE944 #FBF080 #FDF7BB #FEFCE1 #FEFCE1

Accessibility & contrast

On white

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

On black

19.20
#FDF7BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF7BB
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF7BB#FFFFFF#000000##000000
##FDF7BB1.001.0919.2019.20
#FFFFFF1.091.0021.0021.00
#00000019.2021.001.001.00
##00000019.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf7bb;
/* rgb */ color: rgb(253, 247, 187);
/* oklch */ color: oklch(96.7% 0.077 102.9);
Tailwind
colors: {
  custom: {
    50: '#fef9cf',
    500: '#fdf7bb',
    950: '#000000',
  },
}
SCSS
$custom: #fdf7bb;
$custom-light: #fef9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf7bb",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 187
  },
  "hsl": {
    "h": 54.545,
    "s": 94.286,
    "l": 86.275
  },
  "oklch": {
    "l": 0.96653,
    "c": 0.07675,
    "h": 102.9
  },
  "luminance": 0.90992
}

Semantic roles & 50–950 ramp

primary
#FDF7BB
secondary
#7982E3
accent
#15E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FDF7BB

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

Preview Lab → · Contrast checker → · Palette generator →

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