#FFFE97#FFFE97

#FFFE97 is a very light, vivid yellow. Relative luminance 0.944; OKLCH L 97.6% C 0.125 H 108.0°. Best body text is #000000 at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#FFFE97
RGBrgb(255, 254, 151)
HSLhsl(59, 100%, 80%)
HSVhsv(59, 41%, 100%)
CMYKcmyk(0%, 0.4%, 40.8%, 0%)
CIE-LABlab(97.78, -13.94, 49.27)
CIE-LCHlch(97.78, 51.20, 105.80°)
OKLaboklab(97.6% -0.0388 0.1193)
OKLCHoklch(97.6% 0.125 108)
XYZxyz(82.2691, 94.3798, 43.1555)
Luminance0.9438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE97 #9798FF
analogous
#FFCA97 #FFFE97 #CCFF97
triadic
#FFFE97 #97FFFE #FE97FF
tetradic
#FFFE97 #97FFCA #9798FF #FF97CC
square
#FFFE97 #97FFCA #9798FF #FF97CC
split-complementary
#FFFE97 #97CCFF #CA97FF
monochromatic
#FFFD1D #FFFD5A #FFFE97 #FFFFD4 #FFFFE0

Accessibility & contrast

On white

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

On black

19.88
#FFFE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE97
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE97#FFFFFF#000000##000000
##FFFE971.001.0619.8819.88
#FFFFFF1.061.0021.0021.00
#00000019.8821.001.001.00
##00000019.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF68F
Deuteranopia (green-blind)
#FFFB9C
Tritanopia (blue-blind)
#FFF2E5
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fffe97;
/* rgb */ color: rgb(255, 254, 151);
/* oklch */ color: oklch(97.6% 0.125 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffeb7',
    500: '#fffe97',
    950: '#000000',
  },
}
SCSS
$custom: #fffe97;
$custom-light: #fffeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe97",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 151
  },
  "hsl": {
    "h": 59.423,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.97603,
    "c": 0.12543,
    "h": 108
  },
  "luminance": 0.94378
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFE97

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

Preview Lab → · Contrast checker → · Palette generator →

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