#F5FE97#F5FE97

#F5FE97 is a very light, vivid yellow. Relative luminance 0.925; OKLCH L 96.8% C 0.127 H 112.8°. Best body text is #000000 at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#F5FE97
RGBrgb(245, 254, 151)
HSLhsl(65, 98%, 79%)
HSVhsv(65, 41%, 100%)
CMYKcmyk(3.5%, 0%, 40.6%, 0.4%)
CIE-LABlab(97.04, -17.75, 48.17)
CIE-LCHlch(97.04, 51.34, 110.22°)
OKLaboklab(96.82% -0.0492 0.1169)
OKLCHoklch(96.82% 0.127 112.8)
XYZxyz(78.6848, 92.5316, 42.9875)
Luminance0.9253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FE97 #A097FE
analogous
#FED497 #F5FE97 #C2FE97
triadic
#F5FE97 #97F5FE #FE97F5
tetradic
#F5FE97 #97FED4 #A097FE #FE97C2
square
#F5FE97 #97FED4 #A097FE #FE97C2
split-complementary
#F5FE97 #97C2FE #D497FE
monochromatic
#E9FD1E #EFFD5A #F5FE97 #FBFFD4 #FCFFE1

Accessibility & contrast

On white

1.08
#F5FE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.51
#F5FE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FE97
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FE97#FFFFFF#000000##000000
##F5FE971.001.0819.5119.51
#FFFFFF1.081.0021.0021.00
#00000019.5121.001.001.00
##00000019.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF58F
Deuteranopia (green-blind)
#FFF89C
Tritanopia (blue-blind)
#FFF3E5
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f5fe97;
/* rgb */ color: rgb(245, 254, 151);
/* oklch */ color: oklch(96.8% 0.127 112.8);
Tailwind
colors: {
  custom: {
    50: '#fafeb7',
    500: '#f5fe97',
    950: '#000000',
  },
}
SCSS
$custom: #f5fe97;
$custom-light: #fafeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fe97",
  "rgb": {
    "r": 245,
    "g": 254,
    "b": 151
  },
  "hsl": {
    "h": 65.243,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96824,
    "c": 0.12683,
    "h": 112.8
  },
  "luminance": 0.9253
}

Semantic roles & 50–950 ramp

primary
#F5FE97
secondary
#6559E0
accent
#00E614
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F5FE97

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

Preview Lab → · Contrast checker → · Palette generator →

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