#FDF2B2#FDF2B2

#FDF2B2 is a very light, moderate yellow. Relative luminance 0.876; OKLCH L 95.5% C 0.082 H 99.5°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#FDF2B2
RGBrgb(253, 242, 178)
HSLhsl(51, 95%, 85%)
HSVhsv(51, 30%, 99%)
CMYKcmyk(0%, 4.3%, 29.6%, 0.8%)
CIE-LABlab(94.99, -5.75, 32.29)
CIE-LCHlch(94.99, 32.80, 100.10°)
OKLaboklab(95.48% -0.0136 0.081)
OKLCHoklch(95.48% 0.082 99.5)
XYZxyz(80.2967, 87.6031, 54.7901)
Luminance0.8760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF2B2 #B2BDFD
analogous
#FDCDB2 #FDF2B2 #E3FDB2
triadic
#FDF2B2 #B2FDF2 #F2B2FD
tetradic
#FDF2B2 #B2FDCD #B2BDFD #FDB2E3
square
#FDF2B2 #B2FDCD #B2BDFD #FDB2E3
split-complementary
#FDF2B2 #B2E3FD #CDB2FD
monochromatic
#FADE3B #FBE876 #FDF2B2 #FEFAE1 #FEFAE1

Accessibility & contrast

On white

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

On black

18.52
#FDF2B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF2B2
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF2B2#FFFFFF#000000##000000
##FDF2B21.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEEAE
Deuteranopia (green-blind)
#FFF3B4
Tritanopia (blue-blind)
#FFE9E1
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf2b2;
/* rgb */ color: rgb(253, 242, 178);
/* oklch */ color: oklch(95.5% 0.082 99.5);
Tailwind
colors: {
  custom: {
    50: '#fff6c9',
    500: '#fdf2b2',
    950: '#000000',
  },
}
SCSS
$custom: #fdf2b2;
$custom-light: #fff6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf2b2",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 178
  },
  "hsl": {
    "h": 51.2,
    "s": 94.937,
    "l": 84.51
  },
  "oklch": {
    "l": 0.95484,
    "c": 0.0821,
    "h": 99.5
  },
  "luminance": 0.87601
}

Semantic roles & 50–950 ramp

primary
#FDF2B2
secondary
#7181E2
accent
#22E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FDF2B2

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

Preview Lab → · Contrast checker → · Palette generator →

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