#FDF79A#FDF79A

#FDF79A is a very light, moderate yellow. Relative luminance 0.897; OKLCH L 96.1% C 0.115 H 105.2°. Best body text is #000000 at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#FDF79A
RGBrgb(253, 247, 154)
HSLhsl(56, 96%, 80%)
HSVhsv(56, 39%, 99%)
CMYKcmyk(0%, 2.4%, 39.1%, 0.8%)
CIE-LABlab(95.89, -10.98, 45.39)
CIE-LCHlch(95.89, 46.70, 103.59°)
OKLaboklab(96.07% -0.03 0.1107)
OKLCHoklch(96.07% 0.115 105.2)
XYZxyz(79.6028, 89.7392, 43.6937)
Luminance0.8974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF79A #9AA0FD
analogous
#FDC69A #FDF79A #D1FD9A
triadic
#FDF79A #9AFDF7 #F79AFD
tetradic
#FDF79A #9AFDC6 #9AA0FD #FD9AD1
square
#FDF79A #9AFDC6 #9AA0FD #FD9AD1
split-complementary
#FDF79A #9AD1FD #C69AFD
monochromatic
#FBED22 #FCF25E #FDF79A #FEFCD6 #FEFDE1

Accessibility & contrast

On white

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

On black

18.95
#FDF79A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF79A
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF79A#FFFFFF#000000##000000
##FDF79A1.001.1118.9518.95
#FFFFFF1.111.0021.0021.00
#00000018.9521.001.001.00
##00000018.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf79a;
/* rgb */ color: rgb(253, 247, 154);
/* oklch */ color: oklch(96.1% 0.115 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff9b9',
    500: '#fdf79a',
    950: '#000000',
  },
}
SCSS
$custom: #fdf79a;
$custom-light: #fff9b9;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf79a",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 154
  },
  "hsl": {
    "h": 56.364,
    "s": 96.117,
    "l": 79.804
  },
  "oklch": {
    "l": 0.96072,
    "c": 0.11466,
    "h": 105.2
  },
  "luminance": 0.89737
}

Semantic roles & 50–950 ramp

primary
#FDF79A
secondary
#5C64DF
accent
#0EE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF79A

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

Preview Lab → · Contrast checker → · Palette generator →

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