#FDFA98#FDFA98

#FDFA98 is a very light, vivid yellow. Relative luminance 0.915; OKLCH L 96.6% C 0.120 H 106.9°. Best body text is #000000 at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#FDFA98
RGBrgb(253, 250, 152)
HSLhsl(58, 96%, 79%)
HSVhsv(58, 40%, 99%)
CMYKcmyk(0%, 1.2%, 39.9%, 0.8%)
CIE-LABlab(96.62, -12.65, 47.30)
CIE-LCHlch(96.62, 48.96, 104.98°)
OKLaboklab(96.65% -0.0349 0.1149)
OKLCHoklch(96.65% 0.12 106.9)
XYZxyz(80.3624, 91.5227, 43.1320)
Luminance0.9152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDFA98 #989BFD
analogous
#FDC898 #FDFA98 #CEFD98
triadic
#FDFA98 #98FDFA #FA98FD
tetradic
#FDFA98 #98FDC8 #989BFD #FD98CE
square
#FDFA98 #98FDC8 #989BFD #FD98CE
split-complementary
#FDFA98 #98CEFD #C898FD
monochromatic
#FBF420 #FCF75C #FDFA98 #FEFDD4 #FEFEE1

Accessibility & contrast

On white

1.09
#FDFA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.30
#FDFA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDFA98
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDFA98#FFFFFF#000000##000000
##FDFA981.001.0919.3019.30
#FFFFFF1.091.0021.0021.00
#00000019.3021.001.001.00
##00000019.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF390
Deuteranopia (green-blind)
#FFF79C
Tritanopia (blue-blind)
#FFEFE2
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fdfa98;
/* rgb */ color: rgb(253, 250, 152);
/* oklch */ color: oklch(96.6% 0.120 106.9);
Tailwind
colors: {
  custom: {
    50: '#fffbb7',
    500: '#fdfa98',
    950: '#000000',
  },
}
SCSS
$custom: #fdfa98;
$custom-light: #fffbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdfa98",
  "rgb": {
    "r": 253,
    "g": 250,
    "b": 152
  },
  "hsl": {
    "h": 58.218,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96648,
    "c": 0.12009,
    "h": 106.9
  },
  "luminance": 0.91521
}

Semantic roles & 50–950 ramp

primary
#FDFA98
secondary
#5A5EDF
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDFA98

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

Preview Lab → · Contrast checker → · Palette generator →

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