#F8E976#F8E976

#F8E976 is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 92.3% C 0.137 H 101.9°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#F8E976
RGBrgb(248, 233, 118)
HSLhsl(53, 90%, 72%)
HSVhsv(53, 52%, 97%)
CMYKcmyk(0%, 6%, 52.4%, 2.7%)
CIE-LABlab(91.48, -9.34, 57.01)
CIE-LCHlch(91.48, 57.77, 99.31°)
OKLaboklab(92.33% -0.0283 0.134)
OKLCHoklch(92.33% 0.137 101.9)
XYZxyz(71.1225, 79.5448, 28.7433)
Luminance0.7954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E976 #7685F8
analogous
#F8A876 #F8E976 #C6F876
triadic
#F8E976 #76F8E9 #E976F8
tetradic
#F8E976 #76F8A8 #7685F8 #F876C6
square
#F8E976 #76F8A8 #7685F8 #F876C6
split-complementary
#F8E976 #76C6F8 #A876F8
monochromatic
#E8CE0C #F5E03C #F8E976 #FBF2B0 #FEFAE2

Accessibility & contrast

On white

1.24
#F8E976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.91
#F8E976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E976
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E976#FFFFFF#000000##000000
##F8E9761.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36B
Deuteranopia (green-blind)
#FFEA7B
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f8e976;
/* rgb */ color: rgb(248, 233, 118);
/* oklch */ color: oklch(92.3% 0.137 101.9);
Tailwind
colors: {
  custom: {
    50: '#fdefa0',
    500: '#f8e976',
    950: '#000000',
  },
}
SCSS
$custom: #f8e976;
$custom-light: #fdefa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e976",
  "rgb": {
    "r": 248,
    "g": 233,
    "b": 118
  },
  "hsl": {
    "h": 53.077,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92333,
    "c": 0.137,
    "h": 101.9
  },
  "luminance": 0.79542
}

Semantic roles & 50–950 ramp

primary
#F8E976
secondary
#3F50D4
accent
#1AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8E976

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

Preview Lab → · Contrast checker → · Palette generator →

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