#F8FA60#F8FA60

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

Color values

HEX#F8FA60
RGBrgb(248, 250, 96)
HSLhsl(61, 94%, 68%)
HSVhsv(61, 62%, 98%)
CMYKcmyk(0.8%, 0%, 61.6%, 2%)
CIE-LABlab(95.65, -19.20, 71.15)
CIE-LCHlch(95.65, 73.70, 105.10°)
OKLaboklab(95.59% -0.0587 0.1617)
OKLCHoklch(95.59% 0.172 110)
XYZxyz(75.0106, 89.1742, 24.3251)
Luminance0.8917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA60 #6260FA
analogous
#FAAF60 #F8FA60 #ABFA60
triadic
#F8FA60 #60F8FA #FA60F8
tetradic
#F8FA60 #60FAAF #6260FA #FA60AB
square
#F8FA60 #60FAAF #6260FA #FA60AB
split-complementary
#F8FA60 #60ABFA #AF60FA
monochromatic
#D6D907 #F5F825 #F8FA60 #FBFC9B #FDFED7

Accessibility & contrast

On white

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

On black

18.83
#F8FA60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA60
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA60#FFFFFF#000000##000000
##F8FA601.001.1118.8318.83
#FFFFFF1.111.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8fa60;
/* rgb */ color: rgb(248, 250, 96);
/* oklch */ color: oklch(95.6% 0.172 110.0);
Tailwind
colors: {
  custom: {
    50: '#fefb94',
    500: '#f8fa60',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa60;
$custom-light: #fefb94;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa60",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 96
  },
  "hsl": {
    "h": 60.779,
    "s": 93.902,
    "l": 67.843
  },
  "oklch": {
    "l": 0.9559,
    "c": 0.17199,
    "h": 110
  },
  "luminance": 0.89172
}

Semantic roles & 50–950 ramp

primary
#F8FA60
secondary
#2E2CD3
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8FA60

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

Preview Lab → · Contrast checker → · Palette generator →

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