#FDF79D#FDF79D

#FDF79D is a very light, moderate yellow. Relative luminance 0.898; OKLCH L 96.1% C 0.111 H 105.0°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#FDF79D
RGBrgb(253, 247, 157)
HSLhsl(56, 96%, 80%)
HSVhsv(56, 38%, 99%)
CMYKcmyk(0%, 2.4%, 37.9%, 0.8%)
CIE-LABlab(95.93, -10.66, 43.98)
CIE-LCHlch(95.93, 45.25, 103.62°)
OKLaboklab(96.12% -0.0288 0.1076)
OKLCHoklch(96.12% 0.111 105)
XYZxyz(79.8558, 89.8404, 45.0260)
Luminance0.8984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF79D #9DA3FD
analogous
#FDC79D #FDF79D #D3FD9D
triadic
#FDF79D #9DFDF7 #F79DFD
tetradic
#FDF79D #9DFDC7 #9DA3FD #FD9DD3
square
#FDF79D #9DFDC7 #9DA3FD #FD9DD3
split-complementary
#FDF79D #9DD3FD #C79DFD
monochromatic
#FBED25 #FCF261 #FDF79D #FEFCD9 #FEFDE1

Accessibility & contrast

On white

1.11
#FDF79D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.97
#FDF79D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF79D
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF79D#FFFFFF#000000##000000
##FDF79D1.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF196
Deuteranopia (green-blind)
#FFF5A1
Tritanopia (blue-blind)
#FFECE1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf79d;
/* rgb */ color: rgb(253, 247, 157);
/* oklch */ color: oklch(96.1% 0.111 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff9bb',
    500: '#fdf79d',
    950: '#000000',
  },
}
SCSS
$custom: #fdf79d;
$custom-light: #fff9bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf79d",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 157
  },
  "hsl": {
    "h": 56.25,
    "s": 96,
    "l": 80.392
  },
  "oklch": {
    "l": 0.96119,
    "c": 0.11138,
    "h": 105
  },
  "luminance": 0.89838
}

Semantic roles & 50–950 ramp

primary
#FDF79D
secondary
#5F67E0
accent
#0EE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FDF79D

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

Preview Lab → · Contrast checker → · Palette generator →

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