#F5FA87#F5FA87

#F5FA87 is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.8% C 0.139 H 110.9°. Best body text is #000000 at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#F5FA87
RGBrgb(245, 250, 135)
HSLhsl(63, 92%, 75%)
HSVhsv(63, 46%, 98%)
CMYKcmyk(2%, 0%, 46%, 2%)
CIE-LABlab(95.80, -17.39, 54.23)
CIE-LCHlch(95.80, 56.95, 107.78°)
OKLaboklab(95.78% -0.0495 0.1294)
OKLCHoklch(95.78% 0.139 110.9)
XYZxyz(76.2163, 89.5344, 36.1839)
Luminance0.8953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA87 #8C87FA
analogous
#FAC687 #F5FA87 #BBFA87
triadic
#F5FA87 #87F5FA #FA87F5
tetradic
#F5FA87 #87FAC6 #8C87FA #FA87BB
square
#F5FA87 #87FAC6 #8C87FA #FA87BB
split-complementary
#F5FA87 #87BBFA #C687FA
monochromatic
#EBF511 #F0F84C #F5FA87 #FAFCC2 #FDFEE2

Accessibility & contrast

On white

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

On black

18.91
#F5FA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA87
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA87#FFFFFF#000000##000000
##F5FA871.001.1118.9118.91
#FFFFFF1.111.0021.0021.00
#00000018.9121.001.001.00
##00000018.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17D
Deuteranopia (green-blind)
#FFF58D
Tritanopia (blue-blind)
#FFEEDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f5fa87;
/* rgb */ color: rgb(245, 250, 135);
/* oklch */ color: oklch(95.8% 0.139 110.9);
Tailwind
colors: {
  custom: {
    50: '#fafbac',
    500: '#f5fa87',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa87;
$custom-light: #fafbac;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa87",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 62.609,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.95776,
    "c": 0.13857,
    "h": 110.9
  },
  "luminance": 0.89533
}

Semantic roles & 50–950 ramp

primary
#F5FA87
secondary
#534DD8
accent
#00E60A
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5FA87

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

Preview Lab → · Contrast checker → · Palette generator →

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