#F5FA71#F5FA71

#F5FA71 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.5% C 0.159 H 111.0°. Best body text is #000000 at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#F5FA71
RGBrgb(245, 250, 113)
HSLhsl(62, 93%, 71%)
HSVhsv(62, 55%, 98%)
CMYKcmyk(2%, 0%, 54.8%, 2%)
CIE-LABlab(95.57, -19.23, 63.90)
CIE-LCHlch(95.57, 66.73, 106.75°)
OKLaboklab(95.52% -0.0569 0.1484)
OKLCHoklch(95.52% 0.159 111)
XYZxyz(74.8243, 88.9776, 28.8524)
Luminance0.8898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA71 #7671FA
analogous
#FABA71 #F5FA71 #B0FA71
triadic
#F5FA71 #71F5FA #FA71F5
tetradic
#F5FA71 #71FABA #7671FA #FA71B0
square
#F5FA71 #71FABA #7671FA #FA71B0
split-complementary
#F5FA71 #71B0FA #BA71FA
monochromatic
#E0E808 #F1F836 #F5FA71 #F9FCAC #FDFEE1

Accessibility & contrast

On white

1.12
#F5FA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.80
#F5FA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA71
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA71#FFFFFF#000000##000000
##F5FA711.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF063
Deuteranopia (green-blind)
#FFF479
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f5fa71;
/* rgb */ color: rgb(245, 250, 113);
/* oklch */ color: oklch(95.5% 0.159 111.0);
Tailwind
colors: {
  custom: {
    50: '#fbfb9e',
    500: '#f5fa71',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa71;
$custom-light: #fbfb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa71",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 113
  },
  "hsl": {
    "h": 62.19,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95516,
    "c": 0.15897,
    "h": 111
  },
  "luminance": 0.88976
}

Semantic roles & 50–950 ramp

primary
#F5FA71
secondary
#3F3AD5
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5FA71

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

Preview Lab → · Contrast checker → · Palette generator →

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