#F8E577#F8E577

#F8E577 is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.5% C 0.132 H 99.7°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#F8E577
RGBrgb(248, 229, 119)
HSLhsl(51, 90%, 72%)
HSVhsv(51, 52%, 97%)
CMYKcmyk(0%, 7.7%, 52%, 2.7%)
CIE-LABlab(90.47, -7.27, 55.36)
CIE-LCHlch(90.47, 55.84, 97.48°)
OKLaboklab(91.54% -0.0223 0.1305)
OKLCHoklch(91.54% 0.132 99.7)
XYZxyz(70.0628, 77.3296, 28.6847)
Luminance0.7733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E577 #778AF8
analogous
#F8A577 #F8E577 #CAF877
triadic
#F8E577 #77F8E5 #E577F8
tetradic
#F8E577 #77F8A5 #778AF8 #F877CA
square
#F8E577 #77F8A5 #778AF8 #F877CA
split-complementary
#F8E577 #77CAF8 #A577F8
monochromatic
#E9C80C #F5DA3D #F8E577 #FBF0B1 #FEF9E2

Accessibility & contrast

On white

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

On black

16.47
#F8E577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E577
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E577#FFFFFF#000000##000000
##F8E5771.001.2816.4716.47
#FFFFFF1.281.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06D
Deuteranopia (green-blind)
#FCE77C
Tritanopia (blue-blind)
#FFD7CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f8e577;
/* rgb */ color: rgb(248, 229, 119);
/* oklch */ color: oklch(91.5% 0.132 99.7);
Tailwind
colors: {
  custom: {
    50: '#fdeda1',
    500: '#f8e577',
    950: '#000000',
  },
}
SCSS
$custom: #f8e577;
$custom-light: #fdeda1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e577",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 119
  },
  "hsl": {
    "h": 51.163,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91538,
    "c": 0.13242,
    "h": 99.7
  },
  "luminance": 0.77327
}

Semantic roles & 50–950 ramp

primary
#F8E577
secondary
#3F55D4
accent
#22E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E577

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

Preview Lab → · Contrast checker → · Palette generator →

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