#FDFF98#FDFF98

#FDFF98 is a very light, vivid yellow. Relative luminance 0.947; OKLCH L 97.7% C 0.126 H 109.5°. Best body text is #000000 at 19.93:1 contrast (WCAG AA passes).

Color values

HEX#FDFF98
RGBrgb(253, 255, 152)
HSLhsl(61, 100%, 80%)
HSVhsv(61, 40%, 100%)
CMYKcmyk(0.8%, 0%, 40.4%, 0%)
CIE-LABlab(97.90, -15.09, 48.90)
CIE-LCHlch(97.90, 51.18, 107.15°)
OKLaboklab(97.66% -0.0419 0.1185)
OKLCHoklch(97.66% 0.126 109.5)
XYZxyz(81.9367, 94.6712, 43.6567)
Luminance0.9467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDFF98 #9A98FF
analogous
#FFCE98 #FDFF98 #CAFF98
triadic
#FDFF98 #98FDFF #FF98FD
tetradic
#FDFF98 #98FFCE #9A98FF #FF98CA
square
#FDFF98 #98FFCE #9A98FF #FF98CA
split-complementary
#FDFF98 #98CAFF #CE98FF
monochromatic
#FBFF1E #FCFF5B #FDFF98 #FEFFD5 #FEFFE0

Accessibility & contrast

On white

1.05
#FDFF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.93
#FDFF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDFF98
19.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDFF98#FFFFFF#000000##000000
##FDFF981.001.0519.9319.93
#FFFFFF1.051.0021.0021.00
#00000019.9321.001.001.00
##00000019.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF790
Deuteranopia (green-blind)
#FFFB9D
Tritanopia (blue-blind)
#FFF3E6
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fdff98;
/* rgb */ color: rgb(253, 255, 152);
/* oklch */ color: oklch(97.7% 0.126 109.5);
Tailwind
colors: {
  custom: {
    50: '#ffffb8',
    500: '#fdff98',
    950: '#000000',
  },
}
SCSS
$custom: #fdff98;
$custom-light: #ffffb8;
$custom-dark: #000000;
JSON
{
  "hex": "#fdff98",
  "rgb": {
    "r": 253,
    "g": 255,
    "b": 152
  },
  "hsl": {
    "h": 61.165,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.97663,
    "c": 0.12572,
    "h": 109.5
  },
  "luminance": 0.9467
}

Semantic roles & 50–950 ramp

primary
#FDFF98
secondary
#5C59E2
accent
#00E604
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDFF98

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

Preview Lab → · Contrast checker → · Palette generator →

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