#F8D876#F8D876

#F8D876 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.9% C 0.123 H 91.7°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#F8D876
RGBrgb(248, 216, 118)
HSLhsl(45, 90%, 72%)
HSVhsv(45, 52%, 97%)
CMYKcmyk(0%, 12.9%, 52.4%, 2.7%)
CIE-LABlab(87.18, -0.79, 51.92)
CIE-LCHlch(87.18, 51.92, 90.87°)
OKLaboklab(88.93% -0.0036 0.1229)
OKLCHoklch(88.93% 0.123 91.7)
XYZxyz(66.5398, 70.3793, 27.2157)
Luminance0.7038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D876 #7696F8
analogous
#F89776 #F8D876 #D7F876
triadic
#F8D876 #76F8D8 #D876F8
tetradic
#F8D876 #76F897 #7696F8 #F876D7
square
#F8D876 #76F897 #7696F8 #F876D7
split-complementary
#F8D876 #76D7F8 #9776F8
monochromatic
#E8B20C #F5C73C #F8D876 #FBE9B0 #FEF7E2

Accessibility & contrast

On white

1.39
#F8D876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#F8D876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D876
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D876#FFFFFF#000000##000000
##F8D8761.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD56D
Deuteranopia (green-blind)
#F3DE7A
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d876;
/* rgb */ color: rgb(248, 216, 118);
/* oklch */ color: oklch(88.9% 0.123 91.7);
Tailwind
colors: {
  custom: {
    50: '#fde3a0',
    500: '#f8d876',
    950: '#000000',
  },
}
SCSS
$custom: #f8d876;
$custom-light: #fde3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d876",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 118
  },
  "hsl": {
    "h": 45.231,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88932,
    "c": 0.12296,
    "h": 91.7
  },
  "luminance": 0.70376
}

Semantic roles & 50–950 ramp

primary
#F8D876
secondary
#3F63D4
accent
#38E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8D876

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

Preview Lab → · Contrast checker → · Palette generator →

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