#FDF2AD#FDF2AD

#FDF2AD is a very light, moderate yellow. Relative luminance 0.874; OKLCH L 95.4% C 0.088 H 100.2°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#FDF2AD
RGBrgb(253, 242, 173)
HSLhsl(52, 95%, 84%)
HSVhsv(52, 32%, 99%)
CMYKcmyk(0%, 4.3%, 31.6%, 0.8%)
CIE-LABlab(94.91, -6.36, 34.70)
CIE-LCHlch(94.91, 35.28, 100.39°)
OKLaboklab(95.39% -0.0155 0.0866)
OKLCHoklch(95.39% 0.088 100.2)
XYZxyz(79.8038, 87.4059, 52.1942)
Luminance0.8740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF2AD #ADB8FD
analogous
#FDCAAD #FDF2AD #E0FDAD
triadic
#FDF2AD #ADFDF2 #F2ADFD
tetradic
#FDF2AD #ADFDCA #ADB8FD #FDADE0
square
#FDF2AD #ADFDCA #ADB8FD #FDADE0
split-complementary
#FDF2AD #ADE0FD #CAADFD
monochromatic
#FADF36 #FCE971 #FDF2AD #FEFAE1 #FEFAE1

Accessibility & contrast

On white

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

On black

18.48
#FDF2AD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF2AD
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF2AD#FFFFFF#000000##000000
##FDF2AD1.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEEA8
Deuteranopia (green-blind)
#FFF2AF
Tritanopia (blue-blind)
#FFE9E0
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf2ad;
/* rgb */ color: rgb(253, 242, 173);
/* oklch */ color: oklch(95.4% 0.088 100.2);
Tailwind
colors: {
  custom: {
    50: '#fff6c6',
    500: '#fdf2ad',
    950: '#000000',
  },
}
SCSS
$custom: #fdf2ad;
$custom-light: #fff6c6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf2ad",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 173
  },
  "hsl": {
    "h": 51.75,
    "s": 95.238,
    "l": 83.529
  },
  "oklch": {
    "l": 0.95391,
    "c": 0.08796,
    "h": 100.2
  },
  "luminance": 0.87404
}

Semantic roles & 50–950 ramp

primary
#FDF2AD
secondary
#6C7DE2
accent
#20E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FDF2AD

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

Preview Lab → · Contrast checker → · Palette generator →

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