#F5FA80#F5FA80

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

Color values

HEX#F5FA80
RGBrgb(245, 250, 128)
HSLhsl(62, 92%, 74%)
HSVhsv(62, 49%, 98%)
CMYKcmyk(2%, 0%, 48.8%, 2%)
CIE-LABlab(95.72, -18.02, 57.38)
CIE-LCHlch(95.72, 60.14, 107.43°)
OKLaboklab(95.69% -0.052 0.1358)
OKLCHoklch(95.69% 0.145 111)
XYZxyz(75.7396, 89.3438, 33.6731)
Luminance0.8934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA80 #8580FA
analogous
#FAC280 #F5FA80 #B8FA80
triadic
#F5FA80 #80F5FA #FA80F5
tetradic
#F5FA80 #80FAC2 #8580FA #FA80B8
square
#F5FA80 #80FAC2 #8580FA #FA80B8
split-complementary
#F5FA80 #80B8FA #C280FA
monochromatic
#ECF50A #F0F845 #F5FA80 #FAFCBB #FDFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5FA80#FFFFFF#000000##000000
##F5FA801.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)
#FFF175
Deuteranopia (green-blind)
#FFF486
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f5fa80;
/* rgb */ color: rgb(245, 250, 128);
/* oklch */ color: oklch(95.7% 0.145 111.0);
Tailwind
colors: {
  custom: {
    50: '#fafba8',
    500: '#f5fa80',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa80;
$custom-light: #fafba8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa80",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 128
  },
  "hsl": {
    "h": 62.459,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95687,
    "c": 0.14537,
    "h": 111
  },
  "luminance": 0.89342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5FA80

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

Preview Lab → · Contrast checker → · Palette generator →

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