#F8E376#F8E376

#F8E376 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.1% C 0.132 H 98.6°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#F8E376
RGBrgb(248, 227, 118)
HSLhsl(50, 90%, 72%)
HSVhsv(50, 52%, 97%)
CMYKcmyk(0%, 8.5%, 52.4%, 2.7%)
CIE-LABlab(89.95, -6.35, 55.22)
CIE-LCHlch(89.95, 55.58, 96.56°)
OKLaboklab(91.12% -0.0197 0.1301)
OKLCHoklch(91.12% 0.132 98.6)
XYZxyz(69.4528, 76.2054, 28.1867)
Luminance0.7620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E376 #768BF8
analogous
#F8A276 #F8E376 #CCF876
triadic
#F8E376 #76F8E3 #E376F8
tetradic
#F8E376 #76F8A2 #768BF8 #F876CC
square
#F8E376 #76F8A2 #768BF8 #F876CC
split-complementary
#F8E376 #76CCF8 #A276F8
monochromatic
#E8C40C #F5D73C #F8E376 #FBEFB0 #FEF9E2

Accessibility & contrast

On white

1.29
#F8E376 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.24
#F8E376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E376
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E376#FFFFFF#000000##000000
##F8E3761.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6C
Deuteranopia (green-blind)
#FBE67B
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e376;
/* rgb */ color: rgb(248, 227, 118);
/* oklch */ color: oklch(91.1% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#fdeba0',
    500: '#f8e376',
    950: '#000000',
  },
}
SCSS
$custom: #f8e376;
$custom-light: #fdeba0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e376",
  "rgb": {
    "r": 248,
    "g": 227,
    "b": 118
  },
  "hsl": {
    "h": 50.308,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91124,
    "c": 0.13161,
    "h": 98.6
  },
  "luminance": 0.76203
}

Semantic roles & 50–950 ramp

primary
#F8E376
secondary
#3F57D4
accent
#25E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E376

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

Preview Lab → · Contrast checker → · Palette generator →

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