#FDF2AA#FDF2AA

#FDF2AA is a very light, moderate yellow. Relative luminance 0.873; OKLCH L 95.3% C 0.091 H 100.5°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#FDF2AA
RGBrgb(253, 242, 170)
HSLhsl(52, 95%, 83%)
HSVhsv(52, 33%, 99%)
CMYKcmyk(0%, 4.3%, 32.8%, 0.8%)
CIE-LABlab(94.86, -6.72, 36.14)
CIE-LCHlch(94.86, 36.76, 100.53°)
OKLaboklab(95.34% -0.0167 0.0899)
OKLCHoklch(95.34% 0.091 100.5)
XYZxyz(79.5167, 87.2911, 50.6825)
Luminance0.8729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF2AA #AAB5FD
analogous
#FDC8AA #FDF2AA #DEFDAA
triadic
#FDF2AA #AAFDF2 #F2AAFD
tetradic
#FDF2AA #AAFDC8 #AAB5FD #FDAADE
square
#FDF2AA #AAFDC8 #AAB5FD #FDAADE
split-complementary
#FDF2AA #AADEFD #C8AAFD
monochromatic
#FAE032 #FCE96E #FDF2AA #FEFAE1 #FEFAE1

Accessibility & contrast

On white

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

On black

18.46
#FDF2AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF2AA
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF2AA#FFFFFF#000000##000000
##FDF2AA1.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEDA5
Deuteranopia (green-blind)
#FFF2AD
Tritanopia (blue-blind)
#FFE8DF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf2aa;
/* rgb */ color: rgb(253, 242, 170);
/* oklch */ color: oklch(95.3% 0.091 100.5);
Tailwind
colors: {
  custom: {
    50: '#fff6c4',
    500: '#fdf2aa',
    950: '#000000',
  },
}
SCSS
$custom: #fdf2aa;
$custom-light: #fff6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf2aa",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 170
  },
  "hsl": {
    "h": 52.048,
    "s": 95.402,
    "l": 82.941
  },
  "oklch": {
    "l": 0.95336,
    "c": 0.09142,
    "h": 100.5
  },
  "luminance": 0.87289
}

Semantic roles & 50–950 ramp

primary
#FDF2AA
secondary
#6A7AE1
accent
#1EE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FDF2AA

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

Preview Lab → · Contrast checker → · Palette generator →

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