#FDF58D#FDF58D

#FDF58D is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.5% C 0.126 H 104.7°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#FDF58D
RGBrgb(253, 245, 141)
HSLhsl(56, 97%, 77%)
HSVhsv(56, 44%, 99%)
CMYKcmyk(0%, 3.2%, 44.3%, 0.8%)
CIE-LABlab(95.21, -11.29, 50.81)
CIE-LCHlch(95.21, 52.05, 102.53°)
OKLaboklab(95.48% -0.0319 0.1221)
OKLCHoklch(95.48% 0.126 104.7)
XYZxyz(77.9698, 88.1127, 38.0944)
Luminance0.8811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF58D #8D95FD
analogous
#FDBD8D #FDF58D #CDFD8D
triadic
#FDF58D #8DFDF5 #F58DFD
tetradic
#FDF58D #8DFDBD #8D95FD #FD8DCD
square
#FDF58D #8DFDBD #8D95FD #FD8DCD
split-complementary
#FDF58D #8DCDFD #BD8DFD
monochromatic
#FBEA15 #FCF051 #FDF58D #FEFAC9 #FEFCE1

Accessibility & contrast

On white

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

On black

18.62
#FDF58D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF58D
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF58D#FFFFFF#000000##000000
##FDF58D1.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE84
Deuteranopia (green-blind)
#FFF492
Tritanopia (blue-blind)
#FFE9DC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf58d;
/* rgb */ color: rgb(253, 245, 141);
/* oklch */ color: oklch(95.5% 0.126 104.7);
Tailwind
colors: {
  custom: {
    50: '#fff8b0',
    500: '#fdf58d',
    950: '#000000',
  },
}
SCSS
$custom: #fdf58d;
$custom-light: #fff8b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf58d",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 141
  },
  "hsl": {
    "h": 55.714,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.95477,
    "c": 0.12625,
    "h": 104.7
  },
  "luminance": 0.88111
}

Semantic roles & 50–950 ramp

primary
#FDF58D
secondary
#515BDD
accent
#10E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FDF58D

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

Preview Lab → · Contrast checker → · Palette generator →

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