#F5FA86#F5FA86

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

Color values

HEX#F5FA86
RGBrgb(245, 250, 134)
HSLhsl(63, 92%, 75%)
HSVhsv(63, 46%, 98%)
CMYKcmyk(2%, 0%, 46.4%, 2%)
CIE-LABlab(95.79, -17.48, 54.69)
CIE-LCHlch(95.79, 57.41, 107.73°)
OKLaboklab(95.76% -0.0499 0.1303)
OKLCHoklch(95.76% 0.14 110.9)
XYZxyz(76.1462, 89.5064, 35.8148)
Luminance0.8951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA86 #8B86FA
analogous
#FAC586 #F5FA86 #BBFA86
triadic
#F5FA86 #86F5FA #FA86F5
tetradic
#F5FA86 #86FAC5 #8B86FA #FA86BB
square
#F5FA86 #86FAC5 #8B86FA #FA86BB
split-complementary
#F5FA86 #86BBFA #C586FA
monochromatic
#EBF510 #F0F84B #F5FA86 #FAFCC1 #FDFEE2

Accessibility & contrast

On white

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

On black

18.90
#F5FA86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA86
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA86#FFFFFF#000000##000000
##F5FA861.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5fa86;
/* rgb */ color: rgb(245, 250, 134);
/* oklch */ color: oklch(95.8% 0.140 110.9);
Tailwind
colors: {
  custom: {
    50: '#fafbab',
    500: '#f5fa86',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa86;
$custom-light: #fafbab;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa86",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 134
  },
  "hsl": {
    "h": 62.586,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95763,
    "c": 0.13956,
    "h": 110.9
  },
  "luminance": 0.89505
}

Semantic roles & 50–950 ramp

primary
#F5FA86
secondary
#524CD8
accent
#00E60A
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5FA86

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

Preview Lab → · Contrast checker → · Palette generator →

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