#FDF579#FDF579

#FDF579 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.2% C 0.146 H 105.5°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#FDF579
RGBrgb(253, 245, 121)
HSLhsl(56, 97%, 73%)
HSVhsv(56, 52%, 99%)
CMYKcmyk(0%, 3.2%, 52.2%, 0.8%)
CIE-LABlab(94.98, -13.03, 59.84)
CIE-LCHlch(94.98, 61.24, 102.29°)
OKLaboklab(95.22% -0.0389 0.1404)
OKLCHoklch(95.22% 0.146 105.5)
XYZxyz(76.6138, 87.5703, 30.9525)
Luminance0.8757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF579 #7981FD
analogous
#FDB379 #FDF579 #C3FD79
triadic
#FDF579 #79FDF5 #F579FD
tetradic
#FDF579 #79FDB3 #7981FD #FD79C3
square
#FDF579 #79FDB3 #7981FD #FD79C3
split-complementary
#FDF579 #79C3FD #B379FD
monochromatic
#F8E904 #FCF13D #FDF579 #FEFAB5 #FFFDE1

Accessibility & contrast

On white

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

On black

18.51
#FDF579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF579
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF579#FFFFFF#000000##000000
##FDF5791.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6D
Deuteranopia (green-blind)
#FFF37F
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf579;
/* rgb */ color: rgb(253, 245, 121);
/* oklch */ color: oklch(95.2% 0.146 105.5);
Tailwind
colors: {
  custom: {
    50: '#fff8a3',
    500: '#fdf579',
    950: '#000000',
  },
}
SCSS
$custom: #fdf579;
$custom-light: #fff8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf579",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 121
  },
  "hsl": {
    "h": 56.364,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95221,
    "c": 0.14565,
    "h": 105.5
  },
  "luminance": 0.87568
}

Semantic roles & 50–950 ramp

primary
#FDF579
secondary
#4049DA
accent
#0EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF579

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

Preview Lab → · Contrast checker → · Palette generator →

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