#FDF57A#FDF57A

#FDF57A is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.2% C 0.145 H 105.5°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#FDF57A
RGBrgb(253, 245, 122)
HSLhsl(56, 97%, 74%)
HSVhsv(56, 52%, 99%)
CMYKcmyk(0%, 3.2%, 51.8%, 0.8%)
CIE-LABlab(94.99, -12.95, 59.40)
CIE-LCHlch(94.99, 60.80, 102.30°)
OKLaboklab(95.23% -0.0386 0.1395)
OKLCHoklch(95.23% 0.145 105.5)
XYZxyz(76.6754, 87.5949, 31.2771)
Luminance0.8759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF57A #7A82FD
analogous
#FDB37A #FDF57A #C3FD7A
triadic
#FDF57A #7AFDF5 #F57AFD
tetradic
#FDF57A #7AFDB3 #7A82FD #FD7AC3
square
#FDF57A #7AFDB3 #7A82FD #FD7AC3
split-complementary
#FDF57A #7AC3FD #B37AFD
monochromatic
#F9EA04 #FCF03E #FDF57A #FEFAB6 #FFFDE1

Accessibility & contrast

On white

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

On black

18.52
#FDF57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF57A
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF57A#FFFFFF#000000##000000
##FDF57A1.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6E
Deuteranopia (green-blind)
#FFF380
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf57a;
/* rgb */ color: rgb(253, 245, 122);
/* oklch */ color: oklch(95.2% 0.145 105.5);
Tailwind
colors: {
  custom: {
    50: '#fff8a3',
    500: '#fdf57a',
    950: '#000000',
  },
}
SCSS
$custom: #fdf57a;
$custom-light: #fff8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf57a",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 122
  },
  "hsl": {
    "h": 56.336,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95232,
    "c": 0.14474,
    "h": 105.5
  },
  "luminance": 0.87593
}

Semantic roles & 50–950 ramp

primary
#FDF57A
secondary
#414ADB
accent
#0EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF57A

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

Preview Lab → · Contrast checker → · Palette generator →

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