#FDF98D#FDF98D

#FDF98D is a very light, vivid yellow. Relative luminance 0.906; OKLCH L 96.3% C 0.130 H 106.7°. Best body text is #000000 at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#FDF98D
RGBrgb(253, 249, 141)
HSLhsl(58, 97%, 77%)
HSVhsv(58, 44%, 99%)
CMYKcmyk(0%, 1.6%, 44.3%, 0.8%)
CIE-LABlab(96.23, -13.25, 52.07)
CIE-LCHlch(96.23, 53.73, 104.28°)
OKLaboklab(96.29% -0.0376 0.1249)
OKLCHoklch(96.29% 0.13 106.7)
XYZxyz(79.1930, 90.5591, 38.5021)
Luminance0.9056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF98D #8D91FD
analogous
#FDC18D #FDF98D #C9FD8D
triadic
#FDF98D #8DFDF9 #F98DFD
tetradic
#FDF98D #8DFDC1 #8D91FD #FD8DC9
square
#FDF98D #8DFDC1 #8D91FD #FD8DC9
split-complementary
#FDF98D #8DC9FD #C18DFD
monochromatic
#FBF315 #FCF651 #FDF98D #FEFCC9 #FEFDE1

Accessibility & contrast

On white

1.10
#FDF98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.11
#FDF98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF98D
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF98D#FFFFFF#000000##000000
##FDF98D1.001.1019.1119.11
#FFFFFF1.101.0021.0021.00
#00000019.1121.001.001.00
##00000019.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF184
Deuteranopia (green-blind)
#FFF692
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf98d;
/* rgb */ color: rgb(253, 249, 141);
/* oklch */ color: oklch(96.3% 0.130 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffbb0',
    500: '#fdf98d',
    950: '#000000',
  },
}
SCSS
$custom: #fdf98d;
$custom-light: #fffbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf98d",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 141
  },
  "hsl": {
    "h": 57.857,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.96287,
    "c": 0.13047,
    "h": 106.7
  },
  "luminance": 0.90557
}

Semantic roles & 50–950 ramp

primary
#FDF98D
secondary
#5156DD
accent
#08E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FDF98D

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

Preview Lab → · Contrast checker → · Palette generator →

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