#F5FA96#F5FA96

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

Color values

HEX#F5FA96
RGBrgb(245, 250, 150)
HSLhsl(63, 91%, 78%)
HSVhsv(63, 40%, 98%)
CMYKcmyk(2%, 0%, 40%, 2%)
CIE-LABlab(95.99, -15.91, 47.34)
CIE-LCHlch(95.99, 49.94, 108.58°)
OKLaboklab(95.99% -0.0441 0.1149)
OKLCHoklch(95.99% 0.123 111)
XYZxyz(77.3478, 89.9870, 42.1429)
Luminance0.8999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA96 #9B96FA
analogous
#FACD96 #F5FA96 #C3FA96
triadic
#F5FA96 #96F5FA #FA96F5
tetradic
#F5FA96 #96FACD #9B96FA #FA96C3
square
#F5FA96 #96FACD #9B96FA #FA96C3
split-complementary
#F5FA96 #96C3FA #CD96FA
monochromatic
#EAF421 #EFF75C #F5FA96 #FBFDD0 #FCFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5FA96#FFFFFF#000000##000000
##F5FA961.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)
#FFF28E
Deuteranopia (green-blind)
#FFF59B
Tritanopia (blue-blind)
#FFEFE2
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f5fa96;
/* rgb */ color: rgb(245, 250, 150);
/* oklch */ color: oklch(96.0% 0.123 111.0);
Tailwind
colors: {
  custom: {
    50: '#fafbb6',
    500: '#f5fa96',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa96;
$custom-light: #fafbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa96",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 150
  },
  "hsl": {
    "h": 63,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.95987,
    "c": 0.1231,
    "h": 111
  },
  "luminance": 0.89986
}

Semantic roles & 50–950 ramp

primary
#F5FA96
secondary
#605ADA
accent
#00E60B
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F5FA96

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

Preview Lab → · Contrast checker → · Palette generator →

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