#FDF79B#FDF79B

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

Color values

HEX#FDF79B
RGBrgb(253, 247, 155)
HSLhsl(56, 96%, 80%)
HSVhsv(56, 39%, 99%)
CMYKcmyk(0%, 2.4%, 38.7%, 0.8%)
CIE-LABlab(95.90, -10.87, 44.92)
CIE-LCHlch(95.90, 46.22, 103.60°)
OKLaboklab(96.09% -0.0296 0.1096)
OKLCHoklch(96.09% 0.114 105.1)
XYZxyz(79.6864, 89.7726, 44.1341)
Luminance0.8977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF79B #9BA1FD
analogous
#FDC69B #FDF79B #D2FD9B
triadic
#FDF79B #9BFDF7 #F79BFD
tetradic
#FDF79B #9BFDC6 #9BA1FD #FD9BD2
square
#FDF79B #9BFDC6 #9BA1FD #FD9BD2
split-complementary
#FDF79B #9BD2FD #C69BFD
monochromatic
#FBED23 #FCF25F #FDF79B #FEFCD7 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF79B#FFFFFF#000000##000000
##FDF79B1.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)
#FFF194
Deuteranopia (green-blind)
#FFF59F
Tritanopia (blue-blind)
#FFECE0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf79b;
/* rgb */ color: rgb(253, 247, 155);
/* oklch */ color: oklch(96.1% 0.114 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff9b9',
    500: '#fdf79b',
    950: '#000000',
  },
}
SCSS
$custom: #fdf79b;
$custom-light: #fff9b9;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf79b",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 155
  },
  "hsl": {
    "h": 56.327,
    "s": 96.078,
    "l": 80
  },
  "oklch": {
    "l": 0.96088,
    "c": 0.11357,
    "h": 105.1
  },
  "luminance": 0.89771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF79B

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

Preview Lab → · Contrast checker → · Palette generator →

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