#FDF2AE#FDF2AE

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

Color values

HEX#FDF2AE
RGBrgb(253, 242, 174)
HSLhsl(52, 95%, 84%)
HSVhsv(52, 31%, 99%)
CMYKcmyk(0%, 4.3%, 31.2%, 0.8%)
CIE-LABlab(94.93, -6.24, 34.22)
CIE-LCHlch(94.93, 34.78, 100.34°)
OKLaboklab(95.41% -0.0151 0.0855)
OKLCHoklch(95.41% 0.087 100.1)
XYZxyz(79.9009, 87.4448, 52.7057)
Luminance0.8744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF2AE #AEB9FD
analogous
#FDCAAE #FDF2AE #E0FDAE
triadic
#FDF2AE #AEFDF2 #F2AEFD
tetradic
#FDF2AE #AEFDCA #AEB9FD #FDAEE0
square
#FDF2AE #AEFDCA #AEB9FD #FDAEE0
split-complementary
#FDF2AE #AEE0FD #CAAEFD
monochromatic
#FADF37 #FCE872 #FDF2AE #FEFAE1 #FEFAE1

Accessibility & contrast

On white

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

On black

18.49
#FDF2AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF2AE
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF2AE#FFFFFF#000000##000000
##FDF2AE1.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf2ae;
/* rgb */ color: rgb(253, 242, 174);
/* oklch */ color: oklch(95.4% 0.087 100.1);
Tailwind
colors: {
  custom: {
    50: '#fff6c6',
    500: '#fdf2ae',
    950: '#000000',
  },
}
SCSS
$custom: #fdf2ae;
$custom-light: #fff6c6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf2ae",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 174
  },
  "hsl": {
    "h": 51.646,
    "s": 95.181,
    "l": 83.725
  },
  "oklch": {
    "l": 0.95409,
    "c": 0.08678,
    "h": 100.1
  },
  "luminance": 0.87443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF2AE

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

Preview Lab → · Contrast checker → · Palette generator →

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