#FDF79E#FDF79E

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

Color values

HEX#FDF79E
RGBrgb(253, 247, 158)
HSLhsl(56, 96%, 81%)
HSVhsv(56, 38%, 99%)
CMYKcmyk(0%, 2.4%, 37.5%, 0.8%)
CIE-LABlab(95.94, -10.55, 43.51)
CIE-LCHlch(95.94, 44.77, 103.63°)
OKLaboklab(96.14% -0.0285 0.1066)
OKLCHoklch(96.14% 0.11 105)
XYZxyz(79.9415, 89.8747, 45.4775)
Luminance0.8987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF79E #9EA4FD
analogous
#FDC89E #FDF79E #D3FD9E
triadic
#FDF79E #9EFDF7 #F79EFD
tetradic
#FDF79E #9EFDC8 #9EA4FD #FD9ED3
square
#FDF79E #9EFDC8 #9EA4FD #FD9ED3
split-complementary
#FDF79E #9ED3FD #C89EFD
monochromatic
#FBED26 #FCF262 #FDF79E #FEFCDA #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF79E#FFFFFF#000000##000000
##FDF79E1.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)
#FFF197
Deuteranopia (green-blind)
#FFF5A2
Tritanopia (blue-blind)
#FFECE1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf79e;
/* rgb */ color: rgb(253, 247, 158);
/* oklch */ color: oklch(96.1% 0.110 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff9bb',
    500: '#fdf79e',
    950: '#000000',
  },
}
SCSS
$custom: #fdf79e;
$custom-light: #fff9bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf79e",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 158
  },
  "hsl": {
    "h": 56.211,
    "s": 95.96,
    "l": 80.588
  },
  "oklch": {
    "l": 0.96135,
    "c": 0.11029,
    "h": 105
  },
  "luminance": 0.89873
}

Semantic roles & 50–950 ramp

primary
#FDF79E
secondary
#6068E0
accent
#0EE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FDF79E

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

Preview Lab → · Contrast checker → · Palette generator →

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