#FDF586#FDF586

#FDF586 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.4% C 0.133 H 105.0°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#FDF586
RGBrgb(253, 245, 134)
HSLhsl(56, 97%, 76%)
HSVhsv(56, 47%, 99%)
CMYKcmyk(0%, 3.2%, 47%, 0.8%)
CIE-LABlab(95.12, -11.93, 54.02)
CIE-LCHlch(95.12, 55.32, 102.46°)
OKLaboklab(95.38% -0.0344 0.1288)
OKLCHoklch(95.38% 0.133 105)
XYZxyz(77.4654, 87.9109, 35.4375)
Luminance0.8791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF586 #868EFD
analogous
#FDB986 #FDF586 #C9FD86
triadic
#FDF586 #86FDF5 #F586FD
tetradic
#FDF586 #86FDB9 #868EFD #FD86C9
square
#FDF586 #86FDB9 #868EFD #FD86C9
split-complementary
#FDF586 #86C9FD #B986FD
monochromatic
#FBEB0E #FCF04A #FDF586 #FEFAC2 #FFFDE1

Accessibility & contrast

On white

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

On black

18.58
#FDF586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF586
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF586#FFFFFF#000000##000000
##FDF5861.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7C
Deuteranopia (green-blind)
#FFF48B
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf586;
/* rgb */ color: rgb(253, 245, 134);
/* oklch */ color: oklch(95.4% 0.133 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff8ab',
    500: '#fdf586',
    950: '#000000',
  },
}
SCSS
$custom: #fdf586;
$custom-light: #fff8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf586",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 134
  },
  "hsl": {
    "h": 55.966,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.95382,
    "c": 0.1333,
    "h": 105
  },
  "luminance": 0.87909
}

Semantic roles & 50–950 ramp

primary
#FDF586
secondary
#4B55DC
accent
#0FE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF586

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

Preview Lab → · Contrast checker → · Palette generator →

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