#F5FB8A#F5FB8A

#F5FB8A is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.0% C 0.137 H 111.4°. Best body text is #000000 at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#F5FB8A
RGBrgb(245, 251, 138)
HSLhsl(63, 93%, 76%)
HSVhsv(63, 45%, 98%)
CMYKcmyk(2.4%, 0%, 45%, 1.6%)
CIE-LABlab(96.10, -17.59, 53.19)
CIE-LCHlch(96.10, 56.02, 108.30°)
OKLaboklab(96.02% -0.0498 0.1273)
OKLCHoklch(96.02% 0.137 111.4)
XYZxyz(76.7421, 90.2432, 37.4158)
Luminance0.9024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FB8A #908AFB
analogous
#FBC98A #F5FB8A #BDFB8A
triadic
#F5FB8A #8AF5FB #FB8AF5
tetradic
#F5FB8A #8AFBC9 #908AFB #FB8ABD
square
#F5FB8A #8AFBC9 #908AFB #FB8ABD
split-complementary
#F5FB8A #8ABDFB #C98AFB
monochromatic
#EBF714 #F0F94F #F5FB8A #FAFDC5 #FCFEE1

Accessibility & contrast

On white

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

On black

19.05
#F5FB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FB8A
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FB8A#FFFFFF#000000##000000
##F5FB8A1.001.1019.0519.05
#FFFFFF1.101.0021.0021.00
#00000019.0521.001.001.00
##00000019.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF280
Deuteranopia (green-blind)
#FFF590
Tritanopia (blue-blind)
#FFEFE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f5fb8a;
/* rgb */ color: rgb(245, 251, 138);
/* oklch */ color: oklch(96.0% 0.137 111.4);
Tailwind
colors: {
  custom: {
    50: '#fafcae',
    500: '#f5fb8a',
    950: '#000000',
  },
}
SCSS
$custom: #f5fb8a;
$custom-light: #fafcae;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fb8a",
  "rgb": {
    "r": 245,
    "g": 251,
    "b": 138
  },
  "hsl": {
    "h": 63.186,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.96022,
    "c": 0.13672,
    "h": 111.4
  },
  "luminance": 0.90242
}

Semantic roles & 50–950 ramp

primary
#F5FB8A
secondary
#564FDA
accent
#00E60C
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5FB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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