#FDF799#FDF799

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

Color values

HEX#FDF799
RGBrgb(253, 247, 153)
HSLhsl(56, 96%, 80%)
HSVhsv(56, 40%, 99%)
CMYKcmyk(0%, 2.4%, 39.5%, 0.8%)
CIE-LABlab(95.87, -11.08, 45.86)
CIE-LCHlch(95.87, 47.18, 103.58°)
OKLaboklab(96.06% -0.0303 0.1117)
OKLCHoklch(96.06% 0.116 105.2)
XYZxyz(79.5199, 89.7060, 43.2569)
Luminance0.8970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF799 #999FFD
analogous
#FDC599 #FDF799 #D1FD99
triadic
#FDF799 #99FDF7 #F799FD
tetradic
#FDF799 #99FDC5 #999FFD #FD99D1
square
#FDF799 #99FDC5 #999FFD #FD99D1
split-complementary
#FDF799 #99D1FD #C599FD
monochromatic
#FBEE21 #FCF25D #FDF799 #FEFCD5 #FEFDE1

Accessibility & contrast

On white

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

On black

18.94
#FDF799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF799
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF799#FFFFFF#000000##000000
##FDF7991.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf799;
/* rgb */ color: rgb(253, 247, 153);
/* oklch */ color: oklch(96.1% 0.116 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff9b8',
    500: '#fdf799',
    950: '#000000',
  },
}
SCSS
$custom: #fdf799;
$custom-light: #fff9b8;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf799",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 153
  },
  "hsl": {
    "h": 56.4,
    "s": 96.154,
    "l": 79.608
  },
  "oklch": {
    "l": 0.96057,
    "c": 0.11573,
    "h": 105.2
  },
  "luminance": 0.89704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF799

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

Preview Lab → · Contrast checker → · Palette generator →

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