#FDF2A2#FDF2A2

#FDF2A2 is a very light, moderate yellow. Relative luminance 0.870; OKLCH L 95.2% C 0.101 H 101.4°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#FDF2A2
RGBrgb(253, 242, 162)
HSLhsl(53, 96%, 81%)
HSVhsv(53, 36%, 99%)
CMYKcmyk(0%, 4.3%, 36%, 0.8%)
CIE-LABlab(94.74, -7.64, 39.97)
CIE-LCHlch(94.74, 40.69, 100.82°)
OKLaboklab(95.2% -0.0198 0.0986)
OKLCHoklch(95.2% 0.101 101.4)
XYZxyz(78.7829, 86.9976, 46.8175)
Luminance0.8700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF2A2 #A2ADFD
analogous
#FDC5A2 #FDF2A2 #DBFDA2
triadic
#FDF2A2 #A2FDF2 #F2A2FD
tetradic
#FDF2A2 #A2FDC5 #A2ADFD #FDA2DB
square
#FDF2A2 #A2FDC5 #A2ADFD #FDA2DB
split-complementary
#FDF2A2 #A2DBFD #C5A2FD
monochromatic
#FAE12A #FCEA66 #FDF2A2 #FEFADE #FEFBE1

Accessibility & contrast

On white

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

On black

18.40
#FDF2A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF2A2
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF2A2#FFFFFF#000000##000000
##FDF2A21.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED9C
Deuteranopia (green-blind)
#FFF2A5
Tritanopia (blue-blind)
#FFE7DE
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf2a2;
/* rgb */ color: rgb(253, 242, 162);
/* oklch */ color: oklch(95.2% 0.101 101.4);
Tailwind
colors: {
  custom: {
    50: '#fff6be',
    500: '#fdf2a2',
    950: '#000000',
  },
}
SCSS
$custom: #fdf2a2;
$custom-light: #fff6be;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf2a2",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 162
  },
  "hsl": {
    "h": 52.747,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.95197,
    "c": 0.10053,
    "h": 101.4
  },
  "luminance": 0.86996
}

Semantic roles & 50–950 ramp

primary
#FDF2A2
secondary
#6372E0
accent
#1CE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FDF2A2

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

Preview Lab → · Contrast checker → · Palette generator →

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