#FDF2AC#FDF2AC

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

Color values

HEX#FDF2AC
RGBrgb(253, 242, 172)
HSLhsl(52, 95%, 83%)
HSVhsv(52, 32%, 99%)
CMYKcmyk(0%, 4.3%, 32%, 0.8%)
CIE-LABlab(94.89, -6.48, 35.18)
CIE-LCHlch(94.89, 35.77, 100.44°)
OKLaboklab(95.37% -0.0159 0.0877)
OKLCHoklch(95.37% 0.089 100.3)
XYZxyz(79.7074, 87.3674, 51.6865)
Luminance0.8737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF2AC #ACB7FD
analogous
#FDC9AC #FDF2AC #DFFDAC
triadic
#FDF2AC #ACFDF2 #F2ACFD
tetradic
#FDF2AC #ACFDC9 #ACB7FD #FDACDF
square
#FDF2AC #ACFDC9 #ACB7FD #FDACDF
split-complementary
#FDF2AC #ACDFFD #C9ACFD
monochromatic
#FADF34 #FCE970 #FDF2AC #FEFAE1 #FEFAE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF2AC#FFFFFF#000000##000000
##FDF2AC1.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)
#FFEEA7
Deuteranopia (green-blind)
#FFF2AF
Tritanopia (blue-blind)
#FFE8E0
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf2ac;
/* rgb */ color: rgb(253, 242, 172);
/* oklch */ color: oklch(95.4% 0.089 100.3);
Tailwind
colors: {
  custom: {
    50: '#fff6c5',
    500: '#fdf2ac',
    950: '#000000',
  },
}
SCSS
$custom: #fdf2ac;
$custom-light: #fff6c5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf2ac",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 172
  },
  "hsl": {
    "h": 51.852,
    "s": 95.294,
    "l": 83.333
  },
  "oklch": {
    "l": 0.95372,
    "c": 0.08912,
    "h": 100.3
  },
  "luminance": 0.87365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF2AC

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

Preview Lab → · Contrast checker → · Palette generator →

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