#F5FF5A#F5FF5A

#F5FF5A is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.3% C 0.182 H 112.7°. Best body text is #000000 at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#F5FF5A
RGBrgb(245, 255, 90)
HSLhsl(64, 100%, 68%)
HSVhsv(64, 65%, 100%)
CMYKcmyk(3.9%, 0%, 64.7%, 0%)
CIE-LABlab(96.69, -23.14, 74.49)
CIE-LCHlch(96.69, 78.00, 107.26°)
OKLaboklab(96.35% -0.0702 0.1679)
OKLCHoklch(96.35% 0.182 112.7)
XYZxyz(75.2638, 91.6723, 23.4006)
Luminance0.9167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FF5A #645AFF
analogous
#FFB65A #F5FF5A #A3FF5A
triadic
#F5FF5A #5AF5FF #FF5AF5
tetradic
#F5FF5A #5AFFB6 #645AFF #FF5AA3
square
#F5FF5A #5AFFB6 #645AFF #FF5AA3
split-complementary
#F5FF5A #5AA3FF #B65AFF
monochromatic
#D1DF00 #F1FF1D #F5FF5A #F9FF97 #FCFFD4

Accessibility & contrast

On white

1.09
#F5FF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.33
#F5FF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FF5A
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FF5A#FFFFFF#000000##000000
##F5FF5A1.001.0919.3319.33
#FFFFFF1.091.0021.0021.00
#00000019.3321.001.001.00
##00000019.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF443
Deuteranopia (green-blind)
#FFF765
Tritanopia (blue-blind)
#FFF0DE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f5ff5a;
/* rgb */ color: rgb(245, 255, 90);
/* oklch */ color: oklch(96.3% 0.182 112.7);
Tailwind
colors: {
  custom: {
    50: '#fcff91',
    500: '#f5ff5a',
    950: '#000000',
  },
}
SCSS
$custom: #f5ff5a;
$custom-light: #fcff91;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ff5a",
  "rgb": {
    "r": 245,
    "g": 255,
    "b": 90
  },
  "hsl": {
    "h": 63.636,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.96347,
    "c": 0.18201,
    "h": 112.7
  },
  "luminance": 0.91671
}

Semantic roles & 50–950 ramp

primary
#F5FF5A
secondary
#3126D7
accent
#00E60E
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5FF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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