#FDF372#FDF372

#FDF372 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.150 H 104.8°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#FDF372
RGBrgb(253, 243, 114)
HSLhsl(56, 97%, 72%)
HSVhsv(56, 55%, 99%)
CMYKcmyk(0%, 4%, 54.9%, 0.8%)
CIE-LABlab(94.40, -12.59, 62.30)
CIE-LCHlch(94.40, 63.56, 101.43°)
OKLaboklab(94.74% -0.0384 0.145)
OKLCHoklch(94.74% 0.15 104.8)
XYZxyz(75.5982, 86.2012, 28.5726)
Luminance0.8620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF372 #727CFD
analogous
#FDAD72 #FDF372 #C2FD72
triadic
#FDF372 #72FDF3 #F372FD
tetradic
#FDF372 #72FDAD #727CFD #FD72C2
square
#FDF372 #72FDAD #727CFD #FD72C2
split-complementary
#FDF372 #72C2FD #AD72FD
monochromatic
#F1E003 #FCEE36 #FDF372 #FEF8AE #FFFCE1

Accessibility & contrast

On white

1.15
#FDF372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#FDF372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF372
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF372#FFFFFF#000000##000000
##FDF3721.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFF279
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf372;
/* rgb */ color: rgb(253, 243, 114);
/* oklch */ color: oklch(94.7% 0.150 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff69e',
    500: '#fdf372',
    950: '#000000',
  },
}
SCSS
$custom: #fdf372;
$custom-light: #fff69e;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf372",
  "rgb": {
    "r": 253,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 55.683,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94736,
    "c": 0.14994,
    "h": 104.8
  },
  "luminance": 0.86199
}

Semantic roles & 50–950 ramp

primary
#FDF372
secondary
#3A45D9
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF372

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

Preview Lab → · Contrast checker → · Palette generator →

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