#F8E476#F8E476

#F8E476 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.3% C 0.132 H 99.2°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#F8E476
RGBrgb(248, 228, 118)
HSLhsl(51, 90%, 72%)
HSVhsv(51, 52%, 97%)
CMYKcmyk(0%, 8.1%, 52.4%, 2.7%)
CIE-LABlab(90.21, -6.85, 55.52)
CIE-LCHlch(90.21, 55.94, 97.03°)
OKLaboklab(91.33% -0.0212 0.1308)
OKLCHoklch(91.33% 0.132 99.2)
XYZxyz(69.7271, 76.7540, 28.2781)
Luminance0.7675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E476 #768AF8
analogous
#F8A376 #F8E476 #CBF876
triadic
#F8E476 #76F8E4 #E476F8
tetradic
#F8E476 #76F8A3 #768AF8 #F876CB
square
#F8E476 #76F8A3 #768AF8 #F876CB
split-complementary
#F8E476 #76CBF8 #A376F8
monochromatic
#E8C60C #F5D93C #F8E476 #FBEFB0 #FEF9E2

Accessibility & contrast

On white

1.28
#F8E476 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.35
#F8E476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E476
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E476#FFFFFF#000000##000000
##F8E4761.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF6C
Deuteranopia (green-blind)
#FCE67B
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e476;
/* rgb */ color: rgb(248, 228, 118);
/* oklch */ color: oklch(91.3% 0.132 99.2);
Tailwind
colors: {
  custom: {
    50: '#fdeca0',
    500: '#f8e476',
    950: '#000000',
  },
}
SCSS
$custom: #f8e476;
$custom-light: #fdeca0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e476",
  "rgb": {
    "r": 248,
    "g": 228,
    "b": 118
  },
  "hsl": {
    "h": 50.769,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91325,
    "c": 0.13247,
    "h": 99.2
  },
  "luminance": 0.76751
}

Semantic roles & 50–950 ramp

primary
#F8E476
secondary
#3F56D4
accent
#23E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E476

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

Preview Lab → · Contrast checker → · Palette generator →

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