#FDF58A#FDF58A

#FDF58A is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.4% C 0.129 H 104.8°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#FDF58A
RGBrgb(253, 245, 138)
HSLhsl(56, 97%, 77%)
HSVhsv(56, 45%, 99%)
CMYKcmyk(0%, 3.2%, 45.5%, 0.8%)
CIE-LABlab(95.17, -11.57, 52.19)
CIE-LCHlch(95.17, 53.46, 102.50°)
OKLaboklab(95.44% -0.033 0.125)
OKLCHoklch(95.44% 0.129 104.8)
XYZxyz(77.7496, 88.0246, 36.9347)
Luminance0.8802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF58A #8A92FD
analogous
#FDBC8A #FDF58A #CCFD8A
triadic
#FDF58A #8AFDF5 #F58AFD
tetradic
#FDF58A #8AFDBC #8A92FD #FD8ACC
square
#FDF58A #8AFDBC #8A92FD #FD8ACC
split-complementary
#FDF58A #8ACCFD #BC8AFD
monochromatic
#FBEB12 #FCF04E #FDF58A #FEFAC6 #FEFCE1

Accessibility & contrast

On white

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

On black

18.60
#FDF58A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF58A
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF58A#FFFFFF#000000##000000
##FDF58A1.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE81
Deuteranopia (green-blind)
#FFF48F
Tritanopia (blue-blind)
#FFE8DC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf58a;
/* rgb */ color: rgb(253, 245, 138);
/* oklch */ color: oklch(95.4% 0.129 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff8ae',
    500: '#fdf58a',
    950: '#000000',
  },
}
SCSS
$custom: #fdf58a;
$custom-light: #fff8ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf58a",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 138
  },
  "hsl": {
    "h": 55.826,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.95435,
    "c": 0.1293,
    "h": 104.8
  },
  "luminance": 0.88022
}

Semantic roles & 50–950 ramp

primary
#FDF58A
secondary
#4E58DD
accent
#10E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF58A

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

Preview Lab → · Contrast checker → · Palette generator →

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