#F5FB6A#F5FB6A

#F5FB6A is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.7% C 0.166 H 111.4°. Best body text is #000000 at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#F5FB6A
RGBrgb(245, 251, 106)
HSLhsl(62, 95%, 70%)
HSVhsv(62, 58%, 98%)
CMYKcmyk(2.4%, 0%, 57.8%, 1.6%)
CIE-LABlab(95.77, -20.22, 67.11)
CIE-LCHlch(95.77, 70.09, 106.77°)
OKLaboklab(95.65% -0.0604 0.1545)
OKLCHoklch(95.65% 0.166 111.4)
XYZxyz(74.7568, 89.4491, 26.9603)
Luminance0.8945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FB6A #706AFB
analogous
#FBB96A #F5FB6A #ACFB6A
triadic
#F5FB6A #6AF5FB #FB6AF5
tetradic
#F5FB6A #6AFBB9 #706AFB #FB6AAC
square
#F5FB6A #6AFBB9 #706AFB #FB6AAC
split-complementary
#F5FB6A #6AACFB #B96AFB
monochromatic
#DBE406 #F1F92E #F5FB6A #F9FDA6 #FDFEE1

Accessibility & contrast

On white

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

On black

18.89
#F5FB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FB6A
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FB6A#FFFFFF#000000##000000
##F5FB6A1.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF15A
Deuteranopia (green-blind)
#FFF573
Tritanopia (blue-blind)
#FFEDDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f5fb6a;
/* rgb */ color: rgb(245, 251, 106);
/* oklch */ color: oklch(95.7% 0.166 111.4);
Tailwind
colors: {
  custom: {
    50: '#fbfc9a',
    500: '#f5fb6a',
    950: '#000000',
  },
}
SCSS
$custom: #f5fb6a;
$custom-light: #fbfc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fb6a",
  "rgb": {
    "r": 245,
    "g": 251,
    "b": 106
  },
  "hsl": {
    "h": 62.483,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.95653,
    "c": 0.16587,
    "h": 111.4
  },
  "luminance": 0.89447
}

Semantic roles & 50–950 ramp

primary
#F5FB6A
secondary
#3A33D6
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5FB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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