#F8FB60#F8FB60

#F8FB60 is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.8% C 0.173 H 110.3°. Best body text is #000000 at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#F8FB60
RGBrgb(248, 251, 96)
HSLhsl(61, 95%, 68%)
HSVhsv(61, 62%, 98%)
CMYKcmyk(1.2%, 0%, 61.8%, 1.6%)
CIE-LABlab(95.91, -19.68, 71.42)
CIE-LCHlch(95.91, 74.09, 105.41°)
OKLaboklab(95.8% -0.0601 0.1622)
OKLCHoklch(95.8% 0.173 110.3)
XYZxyz(75.3222, 89.7973, 24.4289)
Luminance0.8980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FB60 #6360FB
analogous
#FBB060 #F8FB60 #ABFB60
triadic
#F8FB60 #60F8FB #FB60F8
tetradic
#F8FB60 #60FBB0 #6360FB #FB60AB
square
#F8FB60 #60FBB0 #6360FB #FB60AB
split-complementary
#F8FB60 #60ABFB #B060FB
monochromatic
#D7DB06 #F5F924 #F8FB60 #FBFD9C #FDFED7

Accessibility & contrast

On white

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

On black

18.96
#F8FB60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FB60
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FB60#FFFFFF#000000##000000
##F8FB601.001.1118.9618.96
#FFFFFF1.111.0021.0021.00
#00000018.9621.001.001.00
##00000018.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF14C
Deuteranopia (green-blind)
#FFF56A
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8fb60;
/* rgb */ color: rgb(248, 251, 96);
/* oklch */ color: oklch(95.8% 0.173 110.3);
Tailwind
colors: {
  custom: {
    50: '#fefc94',
    500: '#f8fb60',
    950: '#000000',
  },
}
SCSS
$custom: #f8fb60;
$custom-light: #fefc94;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fb60",
  "rgb": {
    "r": 248,
    "g": 251,
    "b": 96
  },
  "hsl": {
    "h": 61.161,
    "s": 95.092,
    "l": 68.039
  },
  "oklch": {
    "l": 0.95798,
    "c": 0.173,
    "h": 110.3
  },
  "luminance": 0.89795
}

Semantic roles & 50–950 ramp

primary
#F8FB60
secondary
#2E2BD4
accent
#00E604
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8FB60

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

Preview Lab → · Contrast checker → · Palette generator →

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