#F8E079#F8E079

#F8E079 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.6% C 0.126 H 96.5°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#F8E079
RGBrgb(248, 224, 121)
HSLhsl(49, 90%, 72%)
HSVhsv(49, 51%, 97%)
CMYKcmyk(0%, 9.7%, 51.2%, 2.7%)
CIE-LABlab(89.23, -4.59, 52.94)
CIE-LCHlch(89.23, 53.14, 94.96°)
OKLaboklab(90.56% -0.0143 0.1254)
OKLCHoklch(90.56% 0.126 96.5)
XYZxyz(68.8206, 74.6510, 28.8694)
Luminance0.7465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E079 #7991F8
analogous
#F8A079 #F8E079 #D1F879
triadic
#F8E079 #79F8E0 #E079F8
tetradic
#F8E079 #79F8A0 #7991F8 #F879D1
square
#F8E079 #79F8A0 #7991F8 #F879D1
split-complementary
#F8E079 #79D1F8 #A079F8
monochromatic
#EAC00C #F5D33F #F8E079 #FBEDB3 #FDF8E2

Accessibility & contrast

On white

1.32
#F8E079 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.93
#F8E079 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E079
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E079#FFFFFF#000000##000000
##F8E0791.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC70
Deuteranopia (green-blind)
#F8E47D
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8e079;
/* rgb */ color: rgb(248, 224, 121);
/* oklch */ color: oklch(90.6% 0.126 96.5);
Tailwind
colors: {
  custom: {
    50: '#fde9a2',
    500: '#f8e079',
    950: '#000000',
  },
}
SCSS
$custom: #f8e079;
$custom-light: #fde9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e079",
  "rgb": {
    "r": 248,
    "g": 224,
    "b": 121
  },
  "hsl": {
    "h": 48.661,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90561,
    "c": 0.12624,
    "h": 96.5
  },
  "luminance": 0.74648
}

Semantic roles & 50–950 ramp

primary
#F8E079
secondary
#415DD4
accent
#2BE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E079

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

Preview Lab → · Contrast checker → · Palette generator →

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