#FDF79C#FDF79C

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

Color values

HEX#FDF79C
RGBrgb(253, 247, 156)
HSLhsl(56, 96%, 80%)
HSVhsv(56, 38%, 99%)
CMYKcmyk(0%, 2.4%, 38.3%, 0.8%)
CIE-LABlab(95.92, -10.76, 44.45)
CIE-LCHlch(95.92, 45.74, 103.61°)
OKLaboklab(96.1% -0.0292 0.1086)
OKLCHoklch(96.1% 0.112 105.1)
XYZxyz(79.7708, 89.8064, 44.5783)
Luminance0.8980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF79C #9CA2FD
analogous
#FDC79C #FDF79C #D2FD9C
triadic
#FDF79C #9CFDF7 #F79CFD
tetradic
#FDF79C #9CFDC7 #9CA2FD #FD9CD2
square
#FDF79C #9CFDC7 #9CA2FD #FD9CD2
split-complementary
#FDF79C #9CD2FD #C79CFD
monochromatic
#FBED24 #FCF260 #FDF79C #FEFCD8 #FEFDE1

Accessibility & contrast

On white

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

On black

18.96
#FDF79C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF79C
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF79C#FFFFFF#000000##000000
##FDF79C1.001.1118.9618.96
#FFFFFF1.111.0021.0021.00
#00000018.9621.001.001.00
##00000018.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF195
Deuteranopia (green-blind)
#FFF5A0
Tritanopia (blue-blind)
#FFECE0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf79c;
/* rgb */ color: rgb(253, 247, 156);
/* oklch */ color: oklch(96.1% 0.112 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff9ba',
    500: '#fdf79c',
    950: '#000000',
  },
}
SCSS
$custom: #fdf79c;
$custom-light: #fff9ba;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf79c",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 156
  },
  "hsl": {
    "h": 56.289,
    "s": 96.04,
    "l": 80.196
  },
  "oklch": {
    "l": 0.96103,
    "c": 0.11248,
    "h": 105.1
  },
  "luminance": 0.89804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF79C

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

Preview Lab → · Contrast checker → · Palette generator →

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