#FDFD98#FDFD98

#FDFD98 is a very light, vivid yellow. Relative luminance 0.934; OKLCH L 97.3% C 0.123 H 108.5°. Best body text is #000000 at 19.68:1 contrast (WCAG AA passes).

Color values

HEX#FDFD98
RGBrgb(253, 253, 152)
HSLhsl(60, 96%, 79%)
HSVhsv(60, 40%, 99%)
CMYKcmyk(0%, 0%, 39.9%, 0.8%)
CIE-LABlab(97.39, -14.12, 48.26)
CIE-LCHlch(97.39, 50.28, 106.31°)
OKLaboklab(97.26% -0.0391 0.1171)
OKLCHoklch(97.26% 0.123 108.5)
XYZxyz(81.3020, 93.4019, 43.4452)
Luminance0.9340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDFD98 #9898FD
analogous
#FDCB98 #FDFD98 #CBFD98
triadic
#FDFD98 #98FDFD #FD98FD
tetradic
#FDFD98 #98FDCB #9898FD #FD98CB
square
#FDFD98 #98FDCB #9898FD #FD98CB
split-complementary
#FDFD98 #98CBFD #CB98FD
monochromatic
#FBFB20 #FCFC5C #FDFD98 #FEFED4 #FEFEE1

Accessibility & contrast

On white

1.07
#FDFD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.68
#FDFD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDFD98
19.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDFD98#FFFFFF#000000##000000
##FDFD981.001.0719.6819.68
#FFFFFF1.071.0021.0021.00
#00000019.6821.001.001.00
##00000019.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF590
Deuteranopia (green-blind)
#FFF99C
Tritanopia (blue-blind)
#FFF1E4
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fdfd98;
/* rgb */ color: rgb(253, 253, 152);
/* oklch */ color: oklch(97.3% 0.123 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffeb8',
    500: '#fdfd98',
    950: '#000000',
  },
}
SCSS
$custom: #fdfd98;
$custom-light: #fffeb8;
$custom-dark: #000000;
JSON
{
  "hex": "#fdfd98",
  "rgb": {
    "r": 253,
    "g": 253,
    "b": 152
  },
  "hsl": {
    "h": 60,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.97257,
    "c": 0.12344,
    "h": 108.5
  },
  "luminance": 0.934
}

Semantic roles & 50–950 ramp

primary
#FDFD98
secondary
#5A5ADF
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDFD98

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

Preview Lab → · Contrast checker → · Palette generator →

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