#F8F976#F8F976

#F8F976 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.6% C 0.153 H 109.4°. Best body text is #000000 at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#F8F976
RGBrgb(248, 249, 118)
HSLhsl(60, 92%, 72%)
HSVhsv(60, 53%, 98%)
CMYKcmyk(0.4%, 0%, 52.6%, 2.4%)
CIE-LABlab(95.59, -17.19, 61.79)
CIE-LCHlch(95.59, 64.13, 105.54°)
OKLaboklab(95.6% -0.0508 0.1444)
OKLCHoklch(95.6% 0.153 109.4)
XYZxyz(75.8590, 89.0177, 30.3221)
Luminance0.8902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F976 #7776F9
analogous
#F9B976 #F8F976 #B7F976
triadic
#F8F976 #76F8F9 #F976F8
tetradic
#F8F976 #76F9B9 #7776F9 #F976B7
square
#F8F976 #76F9B9 #7776F9 #F976B7
split-complementary
#F8F976 #76B7F9 #B976F9
monochromatic
#E9EA0A #F5F63B #F8F976 #FBFCB1 #FEFEE2

Accessibility & contrast

On white

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

On black

18.80
#F8F976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F976
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F976#FFFFFF#000000##000000
##F8F9761.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF069
Deuteranopia (green-blind)
#FFF47D
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8f976;
/* rgb */ color: rgb(248, 249, 118);
/* oklch */ color: oklch(95.6% 0.153 109.4);
Tailwind
colors: {
  custom: {
    50: '#fdfba1',
    500: '#f8f976',
    950: '#000000',
  },
}
SCSS
$custom: #f8f976;
$custom-light: #fdfba1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f976",
  "rgb": {
    "r": 248,
    "g": 249,
    "b": 118
  },
  "hsl": {
    "h": 60.458,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95601,
    "c": 0.15301,
    "h": 109.4
  },
  "luminance": 0.89016
}

Semantic roles & 50–950 ramp

primary
#F8F976
secondary
#3F3ED5
accent
#00E602
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F976

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

Preview Lab → · Contrast checker → · Palette generator →

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