#FDF199#FDF199

#FDF199 is a very light, moderate yellow. Relative luminance 0.861; OKLCH L 94.8% C 0.109 H 101.5°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#FDF199
RGBrgb(253, 241, 153)
HSLhsl(53, 96%, 80%)
HSVhsv(53, 40%, 99%)
CMYKcmyk(0%, 4.7%, 39.5%, 0.8%)
CIE-LABlab(94.35, -8.11, 43.92)
CIE-LCHlch(94.35, 44.67, 100.47°)
OKLaboklab(94.85% -0.0218 0.1073)
OKLCHoklch(94.85% 0.109 101.5)
XYZxyz(77.7145, 86.0953, 42.6551)
Luminance0.8609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF199 #99A5FD
analogous
#FDBF99 #FDF199 #D7FD99
triadic
#FDF199 #99FDF1 #F199FD
tetradic
#FDF199 #99FDBF #99A5FD #FD99D7
square
#FDF199 #99FDBF #99A5FD #FD99D7
split-complementary
#FDF199 #99D7FD #BF99FD
monochromatic
#FBE121 #FCE95D #FDF199 #FEF9D5 #FEFBE1

Accessibility & contrast

On white

1.15
#FDF199 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.22
#FDF199 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF199
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF199#FFFFFF#000000##000000
##FDF1991.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC92
Deuteranopia (green-blind)
#FFF19C
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf199;
/* rgb */ color: rgb(253, 241, 153);
/* oklch */ color: oklch(94.8% 0.109 101.5);
Tailwind
colors: {
  custom: {
    50: '#fff5b8',
    500: '#fdf199',
    950: '#000000',
  },
}
SCSS
$custom: #fdf199;
$custom-light: #fff5b8;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf199",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 153
  },
  "hsl": {
    "h": 52.8,
    "s": 96.154,
    "l": 79.608
  },
  "oklch": {
    "l": 0.9485,
    "c": 0.10947,
    "h": 101.5
  },
  "luminance": 0.86093
}

Semantic roles & 50–950 ramp

primary
#FDF199
secondary
#5B6BDF
accent
#1CE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF199

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

Preview Lab → · Contrast checker → · Palette generator →

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