#FDF498#FDF498

#FDF498 is a very light, moderate yellow. Relative luminance 0.879; OKLCH L 95.4% C 0.114 H 103.5°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#FDF498
RGBrgb(253, 244, 152)
HSLhsl(55, 96%, 79%)
HSVhsv(55, 40%, 99%)
CMYKcmyk(0%, 3.6%, 39.9%, 0.8%)
CIE-LABlab(95.10, -9.70, 45.36)
CIE-LCHlch(95.10, 46.39, 102.07°)
OKLaboklab(95.44% -0.0265 0.1105)
OKLCHoklch(95.44% 0.114 103.5)
XYZxyz(78.5276, 87.8531, 42.5204)
Luminance0.8785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF498 #98A1FD
analogous
#FDC198 #FDF498 #D4FD98
triadic
#FDF498 #98FDF4 #F498FD
tetradic
#FDF498 #98FDC1 #98A1FD #FD98D4
square
#FDF498 #98FDC1 #98A1FD #FD98D4
split-complementary
#FDF498 #98D4FD #C198FD
monochromatic
#FBE720 #FCEE5C #FDF498 #FEFAD4 #FEFCE1

Accessibility & contrast

On white

1.13
#FDF498 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.57
#FDF498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF498
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF498#FFFFFF#000000##000000
##FDF4981.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE91
Deuteranopia (green-blind)
#FFF39C
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf498;
/* rgb */ color: rgb(253, 244, 152);
/* oklch */ color: oklch(95.4% 0.114 103.5);
Tailwind
colors: {
  custom: {
    50: '#fff7b7',
    500: '#fdf498',
    950: '#000000',
  },
}
SCSS
$custom: #fdf498;
$custom-light: #fff7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf498",
  "rgb": {
    "r": 253,
    "g": 244,
    "b": 152
  },
  "hsl": {
    "h": 54.653,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.95437,
    "c": 0.11363,
    "h": 103.5
  },
  "luminance": 0.87851
}

Semantic roles & 50–950 ramp

primary
#FDF498
secondary
#5A66DF
accent
#14E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF498

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

Preview Lab → · Contrast checker → · Palette generator →

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