#FDF59E#FDF59E

#FDF59E is a very light, moderate yellow. Relative luminance 0.887; OKLCH L 95.7% C 0.108 H 103.7°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#FDF59E
RGBrgb(253, 245, 158)
HSLhsl(55, 96%, 81%)
HSVhsv(55, 38%, 99%)
CMYKcmyk(0%, 3.2%, 37.5%, 0.8%)
CIE-LABlab(95.44, -9.56, 42.86)
CIE-LCHlch(95.44, 43.91, 102.58°)
OKLaboklab(95.73% -0.0256 0.1051)
OKLCHoklch(95.73% 0.108 103.7)
XYZxyz(79.3332, 88.6580, 45.2747)
Luminance0.8866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF59E #9EA6FD
analogous
#FDC59E #FDF59E #D6FD9E
triadic
#FDF59E #9EFDF5 #F59EFD
tetradic
#FDF59E #9EFDC5 #9EA6FD #FD9ED6
square
#FDF59E #9EFDC5 #9EA6FD #FD9ED6
split-complementary
#FDF59E #9ED6FD #C59EFD
monochromatic
#FBE926 #FCEF62 #FDF59E #FEFBDA #FEFCE1

Accessibility & contrast

On white

1.12
#FDF59E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.73
#FDF59E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF59E
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF59E#FFFFFF#000000##000000
##FDF59E1.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF98
Deuteranopia (green-blind)
#FFF4A2
Tritanopia (blue-blind)
#FFEADF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf59e;
/* rgb */ color: rgb(253, 245, 158);
/* oklch */ color: oklch(95.7% 0.108 103.7);
Tailwind
colors: {
  custom: {
    50: '#fff8bb',
    500: '#fdf59e',
    950: '#000000',
  },
}
SCSS
$custom: #fdf59e;
$custom-light: #fff8bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf59e",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 158
  },
  "hsl": {
    "h": 54.947,
    "s": 95.96,
    "l": 80.588
  },
  "oklch": {
    "l": 0.95733,
    "c": 0.10813,
    "h": 103.7
  },
  "luminance": 0.88656
}

Semantic roles & 50–950 ramp

primary
#FDF59E
secondary
#606AE0
accent
#13E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FDF59E

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

Preview Lab → · Contrast checker → · Palette generator →

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