#F8E077#F8E077

#F8E077 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.5% C 0.128 H 96.7°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#F8E077
RGBrgb(248, 224, 119)
HSLhsl(49, 90%, 72%)
HSVhsv(49, 52%, 97%)
CMYKcmyk(0%, 9.7%, 52%, 2.7%)
CIE-LABlab(89.21, -4.76, 53.86)
CIE-LCHlch(89.21, 54.07, 95.05°)
OKLaboklab(90.54% -0.015 0.1273)
OKLCHoklch(90.54% 0.128 96.7)
XYZxyz(68.6992, 74.6025, 28.2302)
Luminance0.7460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E077 #778FF8
analogous
#F8A077 #F8E077 #D0F877
triadic
#F8E077 #77F8E0 #E077F8
tetradic
#F8E077 #77F8A0 #778FF8 #F877D0
square
#F8E077 #77F8A0 #778FF8 #F877D0
split-complementary
#F8E077 #77D0F8 #A077F8
monochromatic
#E9C00C #F5D33D #F8E077 #FBEDB1 #FEF8E2

Accessibility & contrast

On white

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

On black

15.92
#F8E077 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E077
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E077#FFFFFF#000000##000000
##F8E0771.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6E
Deuteranopia (green-blind)
#F9E47B
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8e077;
/* rgb */ color: rgb(248, 224, 119);
/* oklch */ color: oklch(90.5% 0.128 96.7);
Tailwind
colors: {
  custom: {
    50: '#fde9a1',
    500: '#f8e077',
    950: '#000000',
  },
}
SCSS
$custom: #f8e077;
$custom-light: #fde9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e077",
  "rgb": {
    "r": 248,
    "g": 224,
    "b": 119
  },
  "hsl": {
    "h": 48.837,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.90535,
    "c": 0.12814,
    "h": 96.7
  },
  "luminance": 0.746
}

Semantic roles & 50–950 ramp

primary
#F8E077
secondary
#3F5BD4
accent
#2BE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E077

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

Preview Lab → · Contrast checker → · Palette generator →

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