#F5FA60#F5FA60

#F5FA60 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.4% C 0.173 H 111.0°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#F5FA60
RGBrgb(245, 250, 96)
HSLhsl(62, 94%, 68%)
HSVhsv(62, 62%, 98%)
CMYKcmyk(2%, 0%, 61.6%, 2%)
CIE-LABlab(95.43, -20.40, 70.84)
CIE-LCHlch(95.43, 73.72, 106.07°)
OKLaboklab(95.35% -0.0619 0.1611)
OKLCHoklch(95.35% 0.173 111)
XYZxyz(73.9553, 88.6300, 24.2756)
Luminance0.8863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA60 #6560FA
analogous
#FAB260 #F5FA60 #A8FA60
triadic
#F5FA60 #60F5FA #FA60F5
tetradic
#F5FA60 #60FAB2 #6560FA #FA60A8
square
#F5FA60 #60FAB2 #6560FA #FA60A8
split-complementary
#F5FA60 #60A8FA #B260FA
monochromatic
#D2D907 #F1F825 #F5FA60 #F9FC9B #FCFED7

Accessibility & contrast

On white

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

On black

18.73
#F5FA60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA60
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA60#FFFFFF#000000##000000
##F5FA601.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04D
Deuteranopia (green-blind)
#FFF46A
Tritanopia (blue-blind)
#FFECDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f5fa60;
/* rgb */ color: rgb(245, 250, 96);
/* oklch */ color: oklch(95.4% 0.173 111.0);
Tailwind
colors: {
  custom: {
    50: '#fcfb94',
    500: '#f5fa60',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa60;
$custom-light: #fcfb94;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa60",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 96
  },
  "hsl": {
    "h": 61.948,
    "s": 93.902,
    "l": 67.843
  },
  "oklch": {
    "l": 0.95353,
    "c": 0.17257,
    "h": 111
  },
  "luminance": 0.88628
}

Semantic roles & 50–950 ramp

primary
#F5FA60
secondary
#312CD3
accent
#00E607
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5FA60

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

Preview Lab → · Contrast checker → · Palette generator →

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