#F5FA97#F5FA97

#F5FA97 is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 96.0% C 0.122 H 111.0°. Best body text is #000000 at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#F5FA97
RGBrgb(245, 250, 151)
HSLhsl(63, 91%, 79%)
HSVhsv(63, 40%, 98%)
CMYKcmyk(2%, 0%, 39.6%, 2%)
CIE-LABlab(96.00, -15.81, 46.87)
CIE-LCHlch(96.00, 49.46, 108.64°)
OKLaboklab(96% -0.0437 0.1139)
OKLCHoklch(96% 0.122 111)
XYZxyz(77.4286, 90.0194, 42.5688)
Luminance0.9002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA97 #9C97FA
analogous
#FACD97 #F5FA97 #C3FA97
triadic
#F5FA97 #97F5FA #FA97F5
tetradic
#F5FA97 #97FACD #9C97FA #FA97C3
square
#F5FA97 #97FACD #9C97FA #FA97C3
split-complementary
#F5FA97 #97C3FA #CD97FA
monochromatic
#EAF422 #EFF75D #F5FA97 #FBFDD1 #FCFEE2

Accessibility & contrast

On white

1.11
#F5FA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.00
#F5FA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA97
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA97#FFFFFF#000000##000000
##F5FA971.001.1119.0019.00
#FFFFFF1.111.0021.0021.00
#00000019.0021.001.001.00
##00000019.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28F
Deuteranopia (green-blind)
#FFF59B
Tritanopia (blue-blind)
#FFEFE2
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f5fa97;
/* rgb */ color: rgb(245, 250, 151);
/* oklch */ color: oklch(96.0% 0.122 111.0);
Tailwind
colors: {
  custom: {
    50: '#fafbb7',
    500: '#f5fa97',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa97;
$custom-light: #fafbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa97",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 63.03,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.96002,
    "c": 0.12203,
    "h": 111
  },
  "luminance": 0.90018
}

Semantic roles & 50–950 ramp

primary
#F5FA97
secondary
#615BDA
accent
#00E60C
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F5FA97

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

Preview Lab → · Contrast checker → · Palette generator →

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