#F8E579#F8E579

#F8E579 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.6% C 0.131 H 99.5°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#F8E579
RGBrgb(248, 229, 121)
HSLhsl(51, 90%, 72%)
HSVhsv(51, 51%, 97%)
CMYKcmyk(0%, 7.7%, 51.2%, 2.7%)
CIE-LABlab(90.50, -7.10, 54.46)
CIE-LCHlch(90.50, 54.92, 97.43°)
OKLaboklab(91.56% -0.0216 0.1287)
OKLCHoklch(91.56% 0.131 99.5)
XYZxyz(70.1841, 77.3782, 29.3240)
Luminance0.7738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E579 #798CF8
analogous
#F8A679 #F8E579 #CBF879
triadic
#F8E579 #79F8E5 #E579F8
tetradic
#F8E579 #79F8A6 #798CF8 #F879CB
square
#F8E579 #79F8A6 #798CF8 #F879CB
split-complementary
#F8E579 #79CBF8 #A679F8
monochromatic
#EAC90C #F5DA3F #F8E579 #FBF0B3 #FDF9E2

Accessibility & contrast

On white

1.27
#F8E579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#F8E579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E579
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E579#FFFFFF#000000##000000
##F8E5791.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06F
Deuteranopia (green-blind)
#FCE77E
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f8e579;
/* rgb */ color: rgb(248, 229, 121);
/* oklch */ color: oklch(91.6% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#fdeda2',
    500: '#f8e579',
    950: '#000000',
  },
}
SCSS
$custom: #f8e579;
$custom-light: #fdeda2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e579",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 121
  },
  "hsl": {
    "h": 51.024,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91563,
    "c": 0.13053,
    "h": 99.5
  },
  "luminance": 0.77376
}

Semantic roles & 50–950 ramp

primary
#F8E579
secondary
#4157D4
accent
#22E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E579

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

Preview Lab → · Contrast checker → · Palette generator →

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