#F5FB62#F5FB62

#F5FB62 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.6% C 0.172 H 111.4°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#F5FB62
RGBrgb(245, 251, 98)
HSLhsl(62, 95%, 68%)
HSVhsv(62, 61%, 98%)
CMYKcmyk(2.4%, 0%, 61%, 1.6%)
CIE-LABlab(95.70, -20.75, 70.33)
CIE-LCHlch(95.70, 73.33, 106.44°)
OKLaboklab(95.58% -0.0627 0.1603)
OKLCHoklch(95.58% 0.172 111.4)
XYZxyz(74.3601, 89.2904, 24.8706)
Luminance0.8929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FB62 #6862FB
analogous
#FBB462 #F5FB62 #A8FB62
triadic
#F5FB62 #62F5FB #FB62F5
tetradic
#F5FB62 #62FBB4 #6862FB #FB62A8
square
#F5FB62 #62FBB4 #6862FB #FB62A8
split-complementary
#F5FB62 #62A8FB #B462FB
monochromatic
#D5DD06 #F1F926 #F5FB62 #F9FD9E #FDFED9

Accessibility & contrast

On white

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

On black

18.86
#F5FB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FB62
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FB62#FFFFFF#000000##000000
##F5FB621.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04F
Deuteranopia (green-blind)
#FFF56C
Tritanopia (blue-blind)
#FFEDDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f5fb62;
/* rgb */ color: rgb(245, 251, 98);
/* oklch */ color: oklch(95.6% 0.172 111.4);
Tailwind
colors: {
  custom: {
    50: '#fcfc95',
    500: '#f5fb62',
    950: '#000000',
  },
}
SCSS
$custom: #f5fb62;
$custom-light: #fcfc95;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fb62",
  "rgb": {
    "r": 245,
    "g": 251,
    "b": 98
  },
  "hsl": {
    "h": 62.353,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.95579,
    "c": 0.17211,
    "h": 111.4
  },
  "luminance": 0.89289
}

Semantic roles & 50–950 ramp

primary
#F5FB62
secondary
#332DD5
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5FB62

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

Preview Lab → · Contrast checker → · Palette generator →

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