#FDF57F#FDF57F

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

Color values

HEX#FDF57F
RGBrgb(253, 245, 127)
HSLhsl(56, 97%, 75%)
HSVhsv(56, 50%, 99%)
CMYKcmyk(0%, 3.2%, 49.8%, 0.8%)
CIE-LABlab(95.04, -12.54, 57.18)
CIE-LCHlch(95.04, 58.54, 102.37°)
OKLaboklab(95.29% -0.0369 0.1351)
OKLCHoklch(95.29% 0.14 105.3)
XYZxyz(76.9932, 87.7220, 32.9509)
Luminance0.8772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF57F #7F87FD
analogous
#FDB67F #FDF57F #C6FD7F
triadic
#FDF57F #7FFDF5 #F57FFD
tetradic
#FDF57F #7FFDB6 #7F87FD #FD7FC6
square
#FDF57F #7FFDB6 #7F87FD #FD7FC6
split-complementary
#FDF57F #7FC6FD #B67FFD
monochromatic
#FBEC06 #FCF043 #FDF57F #FEFABB #FFFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF57F#FFFFFF#000000##000000
##FDF57F1.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)
#FFEE74
Deuteranopia (green-blind)
#FFF385
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf57f;
/* rgb */ color: rgb(253, 245, 127);
/* oklch */ color: oklch(95.3% 0.140 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff8a7',
    500: '#fdf57f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf57f;
$custom-light: #fff8a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf57f",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 127
  },
  "hsl": {
    "h": 56.19,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.95292,
    "c": 0.14007,
    "h": 105.3
  },
  "luminance": 0.8772
}

Semantic roles & 50–950 ramp

primary
#FDF57F
secondary
#454EDB
accent
#0FE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FDF57F

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

Preview Lab → · Contrast checker → · Palette generator →

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