#FDF2AF#FDF2AF

#FDF2AF is a very light, moderate yellow. Relative luminance 0.875; OKLCH L 95.4% C 0.086 H 99.9°. Best body text is #000000 at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#FDF2AF
RGBrgb(253, 242, 175)
HSLhsl(52, 95%, 84%)
HSVhsv(52, 31%, 99%)
CMYKcmyk(0%, 4.3%, 30.8%, 0.8%)
CIE-LABlab(94.94, -6.12, 33.74)
CIE-LCHlch(94.94, 34.29, 100.28°)
OKLaboklab(95.43% -0.0148 0.0843)
OKLCHoklch(95.43% 0.086 99.9)
XYZxyz(79.9987, 87.4839, 53.2210)
Luminance0.8748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF2AF #AFBAFD
analogous
#FDCBAF #FDF2AF #E1FDAF
triadic
#FDF2AF #AFFDF2 #F2AFFD
tetradic
#FDF2AF #AFFDCB #AFBAFD #FDAFE1
square
#FDF2AF #AFFDCB #AFBAFD #FDAFE1
split-complementary
#FDF2AF #AFE1FD #CBAFFD
monochromatic
#FADF38 #FCE873 #FDF2AF #FEFAE1 #FEFAE1

Accessibility & contrast

On white

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

On black

18.50
#FDF2AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF2AF
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF2AF#FFFFFF#000000##000000
##FDF2AF1.001.1418.5018.50
#FFFFFF1.141.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf2af;
/* rgb */ color: rgb(253, 242, 175);
/* oklch */ color: oklch(95.4% 0.086 99.9);
Tailwind
colors: {
  custom: {
    50: '#fff6c7',
    500: '#fdf2af',
    950: '#000000',
  },
}
SCSS
$custom: #fdf2af;
$custom-light: #fff6c7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf2af",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 175
  },
  "hsl": {
    "h": 51.538,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.95428,
    "c": 0.08562,
    "h": 99.9
  },
  "luminance": 0.87482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF2AF

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

Preview Lab → · Contrast checker → · Palette generator →

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