#FDF98A#FDF98A

#FDF98A is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 96.2% C 0.134 H 106.8°. Best body text is #000000 at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#FDF98A
RGBrgb(253, 249, 138)
HSLhsl(58, 97%, 77%)
HSVhsv(58, 45%, 99%)
CMYKcmyk(0%, 1.6%, 45.5%, 0.8%)
CIE-LABlab(96.19, -13.53, 53.44)
CIE-LCHlch(96.19, 55.13, 104.21°)
OKLaboklab(96.25% -0.0386 0.1278)
OKLCHoklch(96.25% 0.134 106.8)
XYZxyz(78.9728, 90.4710, 37.3424)
Luminance0.9047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF98A #8A8EFD
analogous
#FDC08A #FDF98A #C8FD8A
triadic
#FDF98A #8AFDF9 #F98AFD
tetradic
#FDF98A #8AFDC0 #8A8EFD #FD8AC8
square
#FDF98A #8AFDC0 #8A8EFD #FD8AC8
split-complementary
#FDF98A #8AC8FD #C08AFD
monochromatic
#FBF312 #FCF64E #FDF98A #FEFCC6 #FEFDE1

Accessibility & contrast

On white

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

On black

19.09
#FDF98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF98A
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF98A#FFFFFF#000000##000000
##FDF98A1.001.1019.0919.09
#FFFFFF1.101.0021.0021.00
#00000019.0921.001.001.00
##00000019.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF181
Deuteranopia (green-blind)
#FFF68F
Tritanopia (blue-blind)
#FFECDF
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf98a;
/* rgb */ color: rgb(253, 249, 138);
/* oklch */ color: oklch(96.2% 0.134 106.8);
Tailwind
colors: {
  custom: {
    50: '#fffbae',
    500: '#fdf98a',
    950: '#000000',
  },
}
SCSS
$custom: #fdf98a;
$custom-light: #fffbae;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf98a",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 138
  },
  "hsl": {
    "h": 57.913,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.96246,
    "c": 0.1335,
    "h": 106.8
  },
  "luminance": 0.90469
}

Semantic roles & 50–950 ramp

primary
#FDF98A
secondary
#4E53DD
accent
#08E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF98A

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

Preview Lab → · Contrast checker → · Palette generator →

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