#FDF57C#FDF57C

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

Color values

HEX#FDF57C
RGBrgb(253, 245, 124)
HSLhsl(56, 97%, 74%)
HSVhsv(56, 51%, 99%)
CMYKcmyk(0%, 3.2%, 51%, 0.8%)
CIE-LABlab(95.01, -12.79, 58.51)
CIE-LCHlch(95.01, 59.90, 102.33°)
OKLaboklab(95.26% -0.0379 0.1378)
OKLCHoklch(95.26% 0.143 105.4)
XYZxyz(76.8006, 87.6450, 31.9365)
Luminance0.8764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF57C #7C84FD
analogous
#FDB57C #FDF57C #C5FD7C
triadic
#FDF57C #7CFDF5 #F57CFD
tetradic
#FDF57C #7CFDB5 #7C84FD #FD7CC5
square
#FDF57C #7CFDB5 #7C84FD #FD7CC5
split-complementary
#FDF57C #7CC5FD #B57CFD
monochromatic
#FBEB04 #FCF040 #FDF57C #FEFAB8 #FFFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF57C#FFFFFF#000000##000000
##FDF57C1.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)
#FFED71
Deuteranopia (green-blind)
#FFF382
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf57c;
/* rgb */ color: rgb(253, 245, 124);
/* oklch */ color: oklch(95.3% 0.143 105.4);
Tailwind
colors: {
  custom: {
    50: '#fff8a5',
    500: '#fdf57c',
    950: '#000000',
  },
}
SCSS
$custom: #fdf57c;
$custom-light: #fff8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf57c",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 124
  },
  "hsl": {
    "h": 56.279,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95256,
    "c": 0.14289,
    "h": 105.4
  },
  "luminance": 0.87643
}

Semantic roles & 50–950 ramp

primary
#FDF57C
secondary
#424CDB
accent
#0EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF57C

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

Preview Lab → · Contrast checker → · Palette generator →

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