#FDF2AB#FDF2AB

#FDF2AB is a very light, moderate yellow. Relative luminance 0.873; OKLCH L 95.4% C 0.090 H 100.4°. Best body text is #000000 at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#FDF2AB
RGBrgb(253, 242, 171)
HSLhsl(52, 95%, 83%)
HSVhsv(52, 32%, 99%)
CMYKcmyk(0%, 4.3%, 32.4%, 0.8%)
CIE-LABlab(94.88, -6.60, 35.66)
CIE-LCHlch(94.88, 36.27, 100.49°)
OKLaboklab(95.35% -0.0163 0.0888)
OKLCHoklch(95.35% 0.09 100.4)
XYZxyz(79.6117, 87.3291, 51.1826)
Luminance0.8733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF2AB #ABB6FD
analogous
#FDC9AB #FDF2AB #DFFDAB
triadic
#FDF2AB #ABFDF2 #F2ABFD
tetradic
#FDF2AB #ABFDC9 #ABB6FD #FDABDF
square
#FDF2AB #ABFDC9 #ABB6FD #FDABDF
split-complementary
#FDF2AB #ABDFFD #C9ABFD
monochromatic
#FADF33 #FCE96F #FDF2AB #FEFAE1 #FEFAE1

Accessibility & contrast

On white

1.14
#FDF2AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.47
#FDF2AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF2AB
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF2AB#FFFFFF#000000##000000
##FDF2AB1.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEEA6
Deuteranopia (green-blind)
#FFF2AE
Tritanopia (blue-blind)
#FFE8E0
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf2ab;
/* rgb */ color: rgb(253, 242, 171);
/* oklch */ color: oklch(95.4% 0.090 100.4);
Tailwind
colors: {
  custom: {
    50: '#fff6c4',
    500: '#fdf2ab',
    950: '#000000',
  },
}
SCSS
$custom: #fdf2ab;
$custom-light: #fff6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf2ab",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 171
  },
  "hsl": {
    "h": 51.951,
    "s": 95.349,
    "l": 83.137
  },
  "oklch": {
    "l": 0.95354,
    "c": 0.09027,
    "h": 100.4
  },
  "luminance": 0.87327
}

Semantic roles & 50–950 ramp

primary
#FDF2AB
secondary
#6B7BE1
accent
#1FE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FDF2AB

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

Preview Lab → · Contrast checker → · Palette generator →

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