#F5FA62#F5FA62

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

Color values

HEX#F5FA62
RGBrgb(245, 250, 98)
HSLhsl(62, 94%, 68%)
HSVhsv(62, 61%, 98%)
CMYKcmyk(2%, 0%, 60.8%, 2%)
CIE-LABlab(95.44, -20.27, 70.05)
CIE-LCHlch(95.44, 72.93, 106.14°)
OKLaboklab(95.37% -0.0614 0.1597)
OKLCHoklch(95.37% 0.171 111)
XYZxyz(74.0485, 88.6673, 24.7667)
Luminance0.8867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA62 #6762FA
analogous
#FAB362 #F5FA62 #A9FA62
triadic
#F5FA62 #62F5FA #FA62F5
tetradic
#F5FA62 #62FAB3 #6762FA #FA62A9
square
#F5FA62 #62FAB3 #6762FA #FA62A9
split-complementary
#F5FA62 #62A9FA #B362FA
monochromatic
#D4DB07 #F1F827 #F5FA62 #F9FC9D #FDFED9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5FA62#FFFFFF#000000##000000
##F5FA621.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)
#FFF04F
Deuteranopia (green-blind)
#FFF46C
Tritanopia (blue-blind)
#FFECDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f5fa62;
/* rgb */ color: rgb(245, 250, 98);
/* oklch */ color: oklch(95.4% 0.171 111.0);
Tailwind
colors: {
  custom: {
    50: '#fcfb95',
    500: '#f5fa62',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa62;
$custom-light: #fcfb95;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa62",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 98
  },
  "hsl": {
    "h": 61.974,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.9537,
    "c": 0.17108,
    "h": 111
  },
  "luminance": 0.88666
}

Semantic roles & 50–950 ramp

primary
#F5FA62
secondary
#322DD3
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5FA62

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

Preview Lab → · Contrast checker → · Palette generator →

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