#F5FC8A#F5FC8A

#F5FC8A is a very light, vivid yellow. Relative luminance 0.909; OKLCH L 96.2% C 0.138 H 111.8°. Best body text is #000000 at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#F5FC8A
RGBrgb(245, 252, 138)
HSLhsl(64, 95%, 76%)
HSVhsv(64, 45%, 99%)
CMYKcmyk(2.8%, 0%, 45.2%, 1.2%)
CIE-LABlab(96.36, -18.07, 53.50)
CIE-LCHlch(96.36, 56.47, 108.67°)
OKLaboklab(96.23% -0.0512 0.128)
OKLCHoklch(96.23% 0.138 111.8)
XYZxyz(77.0553, 90.8696, 37.5202)
Luminance0.9087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FC8A #918AFC
analogous
#FCCA8A #F5FC8A #BCFC8A
triadic
#F5FC8A #8AF5FC #FC8AF5
tetradic
#F5FC8A #8AFCCA #918AFC #FC8ABC
square
#F5FC8A #8AFCCA #918AFC #FC8ABC
split-complementary
#F5FC8A #8ABCFC #CA8AFC
monochromatic
#EBF913 #F0FA4E #F5FC8A #FAFEC6 #FCFEE1

Accessibility & contrast

On white

1.10
#F5FC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.17
#F5FC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FC8A
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FC8A#FFFFFF#000000##000000
##F5FC8A1.001.1019.1719.17
#FFFFFF1.101.0021.0021.00
#00000019.1721.001.001.00
##00000019.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF380
Deuteranopia (green-blind)
#FFF690
Tritanopia (blue-blind)
#FFF0E1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f5fc8a;
/* rgb */ color: rgb(245, 252, 138);
/* oklch */ color: oklch(96.2% 0.138 111.8);
Tailwind
colors: {
  custom: {
    50: '#fafdae',
    500: '#f5fc8a',
    950: '#000000',
  },
}
SCSS
$custom: #f5fc8a;
$custom-light: #fafdae;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fc8a",
  "rgb": {
    "r": 245,
    "g": 252,
    "b": 138
  },
  "hsl": {
    "h": 63.684,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.96229,
    "c": 0.13788,
    "h": 111.8
  },
  "luminance": 0.90868
}

Semantic roles & 50–950 ramp

primary
#F5FC8A
secondary
#574FDC
accent
#00E60E
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5FC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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