#FDFD97#FDFD97

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

Color values

HEX#FDFD97
RGBrgb(253, 253, 151)
HSLhsl(60, 96%, 79%)
HSVhsv(60, 40%, 99%)
CMYKcmyk(0%, 0%, 40.3%, 0.8%)
CIE-LABlab(97.38, -14.22, 48.73)
CIE-LCHlch(97.38, 50.76, 106.27°)
OKLaboklab(97.24% -0.0395 0.1181)
OKLCHoklch(97.24% 0.125 108.5)
XYZxyz(81.2205, 93.3693, 43.0157)
Luminance0.9337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDFD97 #9797FD
analogous
#FDCA97 #FDFD97 #CAFD97
triadic
#FDFD97 #97FDFD #FD97FD
tetradic
#FDFD97 #97FDCA #9797FD #FD97CA
square
#FDFD97 #97FDCA #9797FD #FD97CA
split-complementary
#FDFD97 #97CAFD #CA97FD
monochromatic
#FBFB1F #FCFC5B #FDFD97 #FEFED3 #FEFEE1

Accessibility & contrast

On white

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

On black

19.67
#FDFD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDFD97
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDFD97#FFFFFF#000000##000000
##FDFD971.001.0719.6719.67
#FFFFFF1.071.0021.0021.00
#00000019.6721.001.001.00
##00000019.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdfd97;
/* rgb */ color: rgb(253, 253, 151);
/* oklch */ color: oklch(97.2% 0.124 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffeb7',
    500: '#fdfd97',
    950: '#000000',
  },
}
SCSS
$custom: #fdfd97;
$custom-light: #fffeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdfd97",
  "rgb": {
    "r": 253,
    "g": 253,
    "b": 151
  },
  "hsl": {
    "h": 60,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.97242,
    "c": 0.1245,
    "h": 108.5
  },
  "luminance": 0.93368
}

Semantic roles & 50–950 ramp

primary
#FDFD97
secondary
#5959DF
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDFD97

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

Preview Lab → · Contrast checker → · Palette generator →

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