#FDF472#FDF472

#FDF472 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.9% C 0.151 H 105.3°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#FDF472
RGBrgb(253, 244, 114)
HSLhsl(56, 97%, 72%)
HSVhsv(56, 55%, 99%)
CMYKcmyk(0%, 3.6%, 54.9%, 0.8%)
CIE-LABlab(94.65, -13.08, 62.59)
CIE-LCHlch(94.65, 63.94, 101.80°)
OKLaboklab(94.94% -0.0398 0.1456)
OKLCHoklch(94.94% 0.151 105.3)
XYZxyz(75.8983, 86.8013, 28.6726)
Luminance0.8680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF472 #727BFD
analogous
#FDAF72 #FDF472 #C1FD72
triadic
#FDF472 #72FDF4 #F472FD
tetradic
#FDF472 #72FDAF #727BFD #FD72C1
square
#FDF472 #72FDAF #727BFD #FD72C1
split-complementary
#FDF472 #72C1FD #AF72FD
monochromatic
#F1E203 #FCEF36 #FDF472 #FEF9AE #FFFDE1

Accessibility & contrast

On white

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

On black

18.36
#FDF472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF472
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF472#FFFFFF#000000##000000
##FDF4721.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC65
Deuteranopia (green-blind)
#FFF279
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf472;
/* rgb */ color: rgb(253, 244, 114);
/* oklch */ color: oklch(94.9% 0.151 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff79e',
    500: '#fdf472',
    950: '#000000',
  },
}
SCSS
$custom: #fdf472;
$custom-light: #fff79e;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf472",
  "rgb": {
    "r": 253,
    "g": 244,
    "b": 114
  },
  "hsl": {
    "h": 56.115,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94939,
    "c": 0.1509,
    "h": 105.3
  },
  "luminance": 0.86799
}

Semantic roles & 50–950 ramp

primary
#FDF472
secondary
#3A44D9
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF472

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

Preview Lab → · Contrast checker → · Palette generator →

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