#FEFF97#FEFF97

#FEFF97 is a very light, vivid yellow. Relative luminance 0.948; OKLCH L 97.7% C 0.127 H 109.0°. Best body text is #000000 at 19.97:1 contrast (WCAG AA passes).

Color values

HEX#FEFF97
RGBrgb(254, 255, 151)
HSLhsl(61, 100%, 80%)
HSVhsv(61, 41%, 100%)
CMYKcmyk(0.4%, 0%, 40.8%, 0%)
CIE-LABlab(97.96, -14.81, 49.48)
CIE-LCHlch(97.96, 51.65, 106.67°)
OKLaboklab(97.73% -0.0413 0.1198)
OKLCHoklch(97.73% 0.127 109)
XYZxyz(82.2202, 94.8269, 43.2443)
Luminance0.9483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFF97 #9897FF
analogous
#FFCC97 #FEFF97 #CAFF97
triadic
#FEFF97 #97FEFF #FF97FE
tetradic
#FEFF97 #97FFCC #9897FF #FF97CA
square
#FEFF97 #97FFCC #9897FF #FF97CA
split-complementary
#FEFF97 #97CAFF #CC97FF
monochromatic
#FDFF1D #FDFF5A #FEFF97 #FFFFD4 #FFFFE0

Accessibility & contrast

On white

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

On black

19.97
#FEFF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFF97
19.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFF97#FFFFFF#000000##000000
##FEFF971.001.0519.9719.97
#FFFFFF1.051.0021.0021.00
#00000019.9721.001.001.00
##00000019.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #feff97;
/* rgb */ color: rgb(254, 255, 151);
/* oklch */ color: oklch(97.7% 0.127 109.0);
Tailwind
colors: {
  custom: {
    50: '#ffffb7',
    500: '#feff97',
    950: '#000000',
  },
}
SCSS
$custom: #feff97;
$custom-light: #ffffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#feff97",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 60.577,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.97727,
    "c": 0.12666,
    "h": 109
  },
  "luminance": 0.94825
}

Semantic roles & 50–950 ramp

primary
#FEFF97
secondary
#5A59E2
accent
#00E602
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEFF97

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

Preview Lab → · Contrast checker → · Palette generator →

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