#FDF57D#FDF57D

#FDF57D is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.3% C 0.142 H 105.3°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#FDF57D
RGBrgb(253, 245, 125)
HSLhsl(56, 97%, 74%)
HSVhsv(56, 51%, 99%)
CMYKcmyk(0%, 3.2%, 50.6%, 0.8%)
CIE-LABlab(95.02, -12.71, 58.07)
CIE-LCHlch(95.02, 59.45, 102.34°)
OKLaboklab(95.27% -0.0376 0.1369)
OKLCHoklch(95.27% 0.142 105.3)
XYZxyz(76.8642, 87.6704, 32.2712)
Luminance0.8767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF57D #7D85FD
analogous
#FDB57D #FDF57D #C5FD7D
triadic
#FDF57D #7DFDF5 #F57DFD
tetradic
#FDF57D #7DFDB5 #7D85FD #FD7DC5
square
#FDF57D #7DFDB5 #7D85FD #FD7DC5
split-complementary
#FDF57D #7DC5FD #B57DFD
monochromatic
#FBEC04 #FCF041 #FDF57D #FEFAB9 #FFFDE1

Accessibility & contrast

On white

1.13
#FDF57D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.53
#FDF57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF57D
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF57D#FFFFFF#000000##000000
##FDF57D1.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED72
Deuteranopia (green-blind)
#FFF383
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf57d;
/* rgb */ color: rgb(253, 245, 125);
/* oklch */ color: oklch(95.3% 0.142 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff8a5',
    500: '#fdf57d',
    950: '#000000',
  },
}
SCSS
$custom: #fdf57d;
$custom-light: #fff8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf57d",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 125
  },
  "hsl": {
    "h": 56.25,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95268,
    "c": 0.14196,
    "h": 105.3
  },
  "luminance": 0.87668
}

Semantic roles & 50–950 ramp

primary
#FDF57D
secondary
#434DDB
accent
#0EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF57D

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

Preview Lab → · Contrast checker → · Palette generator →

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