#F8D976#F8D976

#F8D976 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 89.1% C 0.124 H 92.4°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#F8D976
RGBrgb(248, 217, 118)
HSLhsl(46, 90%, 72%)
HSVhsv(46, 52%, 97%)
CMYKcmyk(0%, 12.5%, 52.4%, 2.7%)
CIE-LABlab(87.43, -1.29, 52.22)
CIE-LCHlch(87.43, 52.23, 91.42°)
OKLaboklab(89.13% -0.0051 0.1236)
OKLCHoklch(89.13% 0.124 92.4)
XYZxyz(66.7968, 70.8932, 27.3014)
Luminance0.7089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D976 #7695F8
analogous
#F89876 #F8D976 #D6F876
triadic
#F8D976 #76F8D9 #D976F8
tetradic
#F8D976 #76F898 #7695F8 #F876D6
square
#F8D976 #76F898 #7695F8 #F876D6
split-complementary
#F8D976 #76D6F8 #9876F8
monochromatic
#E8B30C #F5C93C #F8D976 #FBE9B0 #FEF7E2

Accessibility & contrast

On white

1.38
#F8D976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#F8D976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D976
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D976#FFFFFF#000000##000000
##F8D9761.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66D
Deuteranopia (green-blind)
#F4DF7A
Tritanopia (blue-blind)
#FFCBC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d976;
/* rgb */ color: rgb(248, 217, 118);
/* oklch */ color: oklch(89.1% 0.124 92.4);
Tailwind
colors: {
  custom: {
    50: '#fde4a0',
    500: '#f8d976',
    950: '#000000',
  },
}
SCSS
$custom: #f8d976;
$custom-light: #fde4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d976",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 118
  },
  "hsl": {
    "h": 45.692,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.8913,
    "c": 0.12368,
    "h": 92.4
  },
  "luminance": 0.7089
}

Semantic roles & 50–950 ramp

primary
#F8D976
secondary
#3F62D4
accent
#37E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8D976

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

Preview Lab → · Contrast checker → · Palette generator →

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