#FEFD97#FEFD97

#FEFD97 is a very light, vivid yellow. Relative luminance 0.936; OKLCH L 97.3% C 0.124 H 108.0°. Best body text is #000000 at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#FEFD97
RGBrgb(254, 253, 151)
HSLhsl(59, 98%, 79%)
HSVhsv(59, 41%, 100%)
CMYKcmyk(0%, 0.4%, 40.6%, 0.4%)
CIE-LABlab(97.45, -13.84, 48.84)
CIE-LCHlch(97.45, 50.76, 105.82°)
OKLaboklab(97.32% -0.0385 0.1183)
OKLCHoklch(97.32% 0.124 108)
XYZxyz(81.5856, 93.5575, 43.0328)
Luminance0.9356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFD97 #9798FE
analogous
#FEC997 #FEFD97 #CCFE97
triadic
#FEFD97 #97FEFD #FD97FE
tetradic
#FEFD97 #97FEC9 #9798FE #FE97CC
square
#FEFD97 #97FEC9 #9798FE #FE97CC
split-complementary
#FEFD97 #97CCFE #C997FE
monochromatic
#FDFB1E #FDFC5A #FEFD97 #FFFED4 #FFFEE1

Accessibility & contrast

On white

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

On black

19.71
#FEFD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFD97
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFD97#FFFFFF#000000##000000
##FEFD971.001.0719.7119.71
#FFFFFF1.071.0021.0021.00
#00000019.7121.001.001.00
##00000019.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefd97;
/* rgb */ color: rgb(254, 253, 151);
/* oklch */ color: oklch(97.3% 0.124 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffeb7',
    500: '#fefd97',
    950: '#000000',
  },
}
SCSS
$custom: #fefd97;
$custom-light: #fffeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fefd97",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 151
  },
  "hsl": {
    "h": 59.417,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.97321,
    "c": 0.12441,
    "h": 108
  },
  "luminance": 0.93556
}

Semantic roles & 50–950 ramp

primary
#FEFD97
secondary
#595AE0
accent
#02E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEFD97

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

Preview Lab → · Contrast checker → · Palette generator →

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