#FDF79F#FDF79F

#FDF79F is a very light, moderate yellow. Relative luminance 0.899; OKLCH L 96.2% C 0.109 H 104.9°. Best body text is #000000 at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#FDF79F
RGBrgb(253, 247, 159)
HSLhsl(56, 96%, 81%)
HSVhsv(56, 37%, 99%)
CMYKcmyk(0%, 2.4%, 37.2%, 0.8%)
CIE-LABlab(95.96, -10.44, 43.04)
CIE-LCHlch(95.96, 44.28, 103.64°)
OKLaboklab(96.15% -0.0281 0.1055)
OKLCHoklch(96.15% 0.109 104.9)
XYZxyz(80.0279, 89.9092, 45.9327)
Luminance0.8991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF79F #9FA5FD
analogous
#FDC89F #FDF79F #D4FD9F
triadic
#FDF79F #9FFDF7 #F79FFD
tetradic
#FDF79F #9FFDC8 #9FA5FD #FD9FD4
square
#FDF79F #9FFDC8 #9FA5FD #FD9FD4
split-complementary
#FDF79F #9FD4FD #C89FFD
monochromatic
#FBED27 #FCF263 #FDF79F #FEFCDB #FEFDE1

Accessibility & contrast

On white

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

On black

18.98
#FDF79F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF79F
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF79F#FFFFFF#000000##000000
##FDF79F1.001.1118.9818.98
#FFFFFF1.111.0021.0021.00
#00000018.9821.001.001.00
##00000018.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf79f;
/* rgb */ color: rgb(253, 247, 159);
/* oklch */ color: oklch(96.2% 0.109 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff9bc',
    500: '#fdf79f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf79f;
$custom-light: #fff9bc;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf79f",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 159
  },
  "hsl": {
    "h": 56.17,
    "s": 95.918,
    "l": 80.784
  },
  "oklch": {
    "l": 0.96151,
    "c": 0.10919,
    "h": 104.9
  },
  "luminance": 0.89907
}

Semantic roles & 50–950 ramp

primary
#FDF79F
secondary
#6069E0
accent
#0FE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FDF79F

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

Preview Lab → · Contrast checker → · Palette generator →

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