#FDF57E#FDF57E

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

Color values

HEX#FDF57E
RGBrgb(253, 245, 126)
HSLhsl(56, 97%, 74%)
HSVhsv(56, 50%, 99%)
CMYKcmyk(0%, 3.2%, 50.2%, 0.8%)
CIE-LABlab(95.03, -12.63, 57.63)
CIE-LCHlch(95.03, 58.99, 102.36°)
OKLaboklab(95.28% -0.0372 0.136)
OKLCHoklch(95.28% 0.141 105.3)
XYZxyz(76.9284, 87.6961, 32.6093)
Luminance0.8769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF57E #7E86FD
analogous
#FDB57E #FDF57E #C6FD7E
triadic
#FDF57E #7EFDF5 #F57EFD
tetradic
#FDF57E #7EFDB5 #7E86FD #FD7EC6
square
#FDF57E #7EFDB5 #7E86FD #FD7EC6
split-complementary
#FDF57E #7EC6FD #B57EFD
monochromatic
#FBEC05 #FCF042 #FDF57E #FEFABA #FFFDE1

Accessibility & contrast

On white

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

On black

18.54
#FDF57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF57E
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF57E#FFFFFF#000000##000000
##FDF57E1.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf57e;
/* rgb */ color: rgb(253, 245, 126);
/* oklch */ color: oklch(95.3% 0.141 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff8a6',
    500: '#fdf57e',
    950: '#000000',
  },
}
SCSS
$custom: #fdf57e;
$custom-light: #fff8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf57e",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 126
  },
  "hsl": {
    "h": 56.22,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.9528,
    "c": 0.14102,
    "h": 105.3
  },
  "luminance": 0.87694
}

Semantic roles & 50–950 ramp

primary
#FDF57E
secondary
#444EDB
accent
#0EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FDF57E

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

Preview Lab → · Contrast checker → · Palette generator →

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