#FDF591#FDF591

#FDF591 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.5% C 0.122 H 104.5°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#FDF591
RGBrgb(253, 245, 145)
HSLhsl(56, 96%, 78%)
HSVhsv(56, 43%, 99%)
CMYKcmyk(0%, 3.2%, 42.7%, 0.8%)
CIE-LABlab(95.26, -10.90, 48.96)
CIE-LCHlch(95.26, 50.16, 102.56°)
OKLaboklab(95.53% -0.0305 0.1182)
OKLCHoklch(95.53% 0.122 104.5)
XYZxyz(78.2728, 88.2339, 39.6902)
Luminance0.8823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF591 #9199FD
analogous
#FDBF91 #FDF591 #CFFD91
triadic
#FDF591 #91FDF5 #F591FD
tetradic
#FDF591 #91FDBF #9199FD #FD91CF
square
#FDF591 #91FDBF #9199FD #FD91CF
split-complementary
#FDF591 #91CFFD #BF91FD
monochromatic
#FBEA19 #FCF055 #FDF591 #FEFACD #FEFCE1

Accessibility & contrast

On white

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

On black

18.65
#FDF591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF591
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF591#FFFFFF#000000##000000
##FDF5911.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE89
Deuteranopia (green-blind)
#FFF495
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf591;
/* rgb */ color: rgb(253, 245, 145);
/* oklch */ color: oklch(95.5% 0.122 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff8b3',
    500: '#fdf591',
    950: '#000000',
  },
}
SCSS
$custom: #fdf591;
$custom-light: #fff8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf591",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 145
  },
  "hsl": {
    "h": 55.556,
    "s": 96.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.95534,
    "c": 0.12211,
    "h": 104.5
  },
  "luminance": 0.88232
}

Semantic roles & 50–950 ramp

primary
#FDF591
secondary
#545FDE
accent
#11E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF591

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

Preview Lab → · Contrast checker → · Palette generator →

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