#F5FA59#F5FA59

#F5FA59 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.3% C 0.178 H 111.1°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#F5FA59
RGBrgb(245, 250, 89)
HSLhsl(62, 94%, 66%)
HSVhsv(62, 64%, 98%)
CMYKcmyk(2%, 0%, 64.4%, 2%)
CIE-LABlab(95.37, -20.82, 73.51)
CIE-LCHlch(95.37, 76.41, 105.81°)
OKLaboklab(95.3% -0.0638 0.1657)
OKLCHoklch(95.3% 0.178 111.1)
XYZxyz(73.6472, 88.5068, 22.6532)
Luminance0.8851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA59 #5E59FA
analogous
#FAAF59 #F5FA59 #A5FA59
triadic
#F5FA59 #59F5FA #FA59F5
tetradic
#F5FA59 #59FAAF #5E59FA #FA59A5
square
#F5FA59 #59FAAF #5E59FA #FA59A5
split-complementary
#F5FA59 #59A5FA #AF59FA
monochromatic
#CCD206 #F1F81E #F5FA59 #F9FC94 #FCFED0

Accessibility & contrast

On white

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

On black

18.70
#F5FA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA59
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA59#FFFFFF#000000##000000
##F5FA591.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF43
Deuteranopia (green-blind)
#FFF464
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f5fa59;
/* rgb */ color: rgb(245, 250, 89);
/* oklch */ color: oklch(95.3% 0.178 111.1);
Tailwind
colors: {
  custom: {
    50: '#fcfb90',
    500: '#f5fa59',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa59;
$custom-light: #fcfb90;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa59",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 89
  },
  "hsl": {
    "h": 61.863,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.95295,
    "c": 0.17757,
    "h": 111.1
  },
  "luminance": 0.88505
}

Semantic roles & 50–950 ramp

primary
#F5FA59
secondary
#2F2ACD
accent
#00E607
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5FA59

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

Preview Lab → · Contrast checker → · Palette generator →

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