#F5FA81#F5FA81

#F5FA81 is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.7% C 0.144 H 110.9°. Best body text is #000000 at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#F5FA81
RGBrgb(245, 250, 129)
HSLhsl(62, 92%, 74%)
HSVhsv(62, 48%, 98%)
CMYKcmyk(2%, 0%, 48.4%, 2%)
CIE-LABlab(95.73, -17.93, 56.93)
CIE-LCHlch(95.73, 59.69, 107.48°)
OKLaboklab(95.7% -0.0516 0.1349)
OKLCHoklch(95.7% 0.144 110.9)
XYZxyz(75.8057, 89.3702, 34.0215)
Luminance0.8937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA81 #8681FA
analogous
#FAC281 #F5FA81 #B9FA81
triadic
#F5FA81 #81F5FA #FA81F5
tetradic
#F5FA81 #81FAC2 #8681FA #FA81B9
square
#F5FA81 #81FAC2 #8681FA #FA81B9
split-complementary
#F5FA81 #81B9FA #C281FA
monochromatic
#ECF50B #F0F846 #F5FA81 #FAFCBC #FDFEE2

Accessibility & contrast

On white

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

On black

18.87
#F5FA81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA81
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA81#FFFFFF#000000##000000
##F5FA811.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF176
Deuteranopia (green-blind)
#FFF587
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f5fa81;
/* rgb */ color: rgb(245, 250, 129);
/* oklch */ color: oklch(95.7% 0.144 110.9);
Tailwind
colors: {
  custom: {
    50: '#fafba8',
    500: '#f5fa81',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa81;
$custom-light: #fafba8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa81",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 129
  },
  "hsl": {
    "h": 62.479,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.957,
    "c": 0.14441,
    "h": 110.9
  },
  "luminance": 0.89369
}

Semantic roles & 50–950 ramp

primary
#F5FA81
secondary
#4E48D8
accent
#00E609
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5FA81

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

Preview Lab → · Contrast checker → · Palette generator →

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