#FFFD97#FFFD97

#FFFD97 is a very light, vivid yellow. Relative luminance 0.937; OKLCH L 97.4% C 0.124 H 107.5°. Best body text is #000000 at 19.75:1 contrast (WCAG AA passes).

Color values

HEX#FFFD97
RGBrgb(255, 253, 151)
HSLhsl(59, 100%, 80%)
HSVhsv(59, 41%, 100%)
CMYKcmyk(0%, 0.8%, 40.8%, 0%)
CIE-LABlab(97.53, -13.46, 48.95)
CIE-LCHlch(97.53, 50.77, 105.37°)
OKLaboklab(97.4% -0.0374 0.1186)
OKLCHoklch(97.4% 0.124 107.5)
XYZxyz(81.9526, 93.7467, 43.0500)
Luminance0.9375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD97 #9799FF
analogous
#FFC997 #FFFD97 #CDFF97
triadic
#FFFD97 #97FFFD #FD97FF
tetradic
#FFFD97 #97FFC9 #9799FF #FF97CD
square
#FFFD97 #97FFC9 #9799FF #FF97CD
split-complementary
#FFFD97 #97CDFF #C997FF
monochromatic
#FFFB1D #FFFC5A #FFFD97 #FFFED4 #FFFEE0

Accessibility & contrast

On white

1.06
#FFFD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.75
#FFFD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD97
19.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD97#FFFFFF#000000##000000
##FFFD971.001.0619.7519.75
#FFFFFF1.061.0021.0021.00
#00000019.7521.001.001.00
##00000019.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF68F
Deuteranopia (green-blind)
#FFFA9C
Tritanopia (blue-blind)
#FFF1E4
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffd97;
/* rgb */ color: rgb(255, 253, 151);
/* oklch */ color: oklch(97.4% 0.124 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffdb7',
    500: '#fffd97',
    950: '#000000',
  },
}
SCSS
$custom: #fffd97;
$custom-light: #fffdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd97",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 151
  },
  "hsl": {
    "h": 58.846,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.974,
    "c": 0.12432,
    "h": 107.5
  },
  "luminance": 0.93745
}

Semantic roles & 50–950 ramp

primary
#FFFD97
secondary
#595BE2
accent
#04E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFD97

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

Preview Lab → · Contrast checker → · Palette generator →

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