#FDF2BB#FDF2BB

#FDF2BB is a very light, moderate yellow. Relative luminance 0.880; OKLCH L 95.7% C 0.071 H 98.1°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#FDF2BB
RGBrgb(253, 242, 187)
HSLhsl(50, 94%, 86%)
HSVhsv(50, 26%, 99%)
CMYKcmyk(0%, 4.3%, 26.1%, 0.8%)
CIE-LABlab(95.15, -4.61, 27.94)
CIE-LCHlch(95.15, 28.32, 99.36°)
OKLaboklab(95.66% -0.01 0.0707)
OKLCHoklch(95.66% 0.071 98.1)
XYZxyz(81.2301, 87.9764, 59.7062)
Luminance0.8798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF2BB #BBC6FD
analogous
#FDD1BB #FDF2BB #E7FDBB
triadic
#FDF2BB #BBFDF2 #F2BBFD
tetradic
#FDF2BB #BBFDD1 #BBC6FD #FDBBE7
square
#FDF2BB #BBFDD1 #BBC6FD #FDBBE7
split-complementary
#FDF2BB #BBE7FD #D1BBFD
monochromatic
#FADB44 #FBE780 #FDF2BB #FEF9E1 #FEF9E1

Accessibility & contrast

On white

1.13
#FDF2BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.60
#FDF2BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF2BB
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF2BB#FFFFFF#000000##000000
##FDF2BB1.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEFB7
Deuteranopia (green-blind)
#FFF3BD
Tritanopia (blue-blind)
#FFEAE3
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf2bb;
/* rgb */ color: rgb(253, 242, 187);
/* oklch */ color: oklch(95.7% 0.071 98.1);
Tailwind
colors: {
  custom: {
    50: '#fef6cf',
    500: '#fdf2bb',
    950: '#000000',
  },
}
SCSS
$custom: #fdf2bb;
$custom-light: #fef6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf2bb",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 187
  },
  "hsl": {
    "h": 50,
    "s": 94.286,
    "l": 86.275
  },
  "oklch": {
    "l": 0.9566,
    "c": 0.07139,
    "h": 98.1
  },
  "luminance": 0.87975
}

Semantic roles & 50–950 ramp

primary
#FDF2BB
secondary
#798BE3
accent
#26E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FDF2BB

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

Preview Lab → · Contrast checker → · Palette generator →

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