#FDF299#FDF299

#FDF299 is a very light, moderate yellow. Relative luminance 0.867; OKLCH L 95.1% C 0.110 H 102.1°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#FDF299
RGBrgb(253, 242, 153)
HSLhsl(53, 96%, 80%)
HSVhsv(53, 40%, 99%)
CMYKcmyk(0%, 4.3%, 39.5%, 0.8%)
CIE-LABlab(94.61, -8.61, 44.25)
CIE-LCHlch(94.61, 45.08, 101.01°)
OKLaboklab(95.05% -0.0232 0.108)
OKLCHoklch(95.05% 0.11 102.1)
XYZxyz(78.0113, 86.6889, 42.7540)
Luminance0.8669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF299 #99A4FD
analogous
#FDC099 #FDF299 #D6FD99
triadic
#FDF299 #99FDF2 #F299FD
tetradic
#FDF299 #99FDC0 #99A4FD #FD99D6
square
#FDF299 #99FDC0 #99A4FD #FD99D6
split-complementary
#FDF299 #99D6FD #C099FD
monochromatic
#FBE321 #FCEA5D #FDF299 #FEFAD5 #FEFBE1

Accessibility & contrast

On white

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

On black

18.34
#FDF299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF299
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF299#FFFFFF#000000##000000
##FDF2991.001.1518.3418.34
#FFFFFF1.151.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf299;
/* rgb */ color: rgb(253, 242, 153);
/* oklch */ color: oklch(95.1% 0.110 102.1);
Tailwind
colors: {
  custom: {
    50: '#fff6b8',
    500: '#fdf299',
    950: '#000000',
  },
}
SCSS
$custom: #fdf299;
$custom-light: #fff6b8;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf299",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 153
  },
  "hsl": {
    "h": 53.4,
    "s": 96.154,
    "l": 79.608
  },
  "oklch": {
    "l": 0.95051,
    "c": 0.11048,
    "h": 102.1
  },
  "luminance": 0.86687
}

Semantic roles & 50–950 ramp

primary
#FDF299
secondary
#5B6ADF
accent
#19E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF299

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

Preview Lab → · Contrast checker → · Palette generator →

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