#F8E074#F8E074

#F8E074 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.5% C 0.131 H 97.0°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#F8E074
RGBrgb(248, 224, 116)
HSLhsl(49, 90%, 71%)
HSVhsv(49, 53%, 97%)
CMYKcmyk(0%, 9.7%, 53.2%, 2.7%)
CIE-LABlab(89.17, -5.00, 55.22)
CIE-LCHlch(89.17, 55.45, 95.17°)
OKLaboklab(90.5% -0.0161 0.13)
OKLCHoklch(90.5% 0.131 97)
XYZxyz(68.5219, 74.5316, 27.2963)
Luminance0.7453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E074 #748CF8
analogous
#F89E74 #F8E074 #CEF874
triadic
#F8E074 #74F8E0 #E074F8
tetradic
#F8E074 #74F89E #748CF8 #F874CE
square
#F8E074 #74F89E #748CF8 #F874CE
split-complementary
#F8E074 #74CEF8 #9E74F8
monochromatic
#E6BE0C #F5D33A #F8E074 #FBEDAE #FEF9E2

Accessibility & contrast

On white

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

On black

15.91
#F8E074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E074
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E074#FFFFFF#000000##000000
##F8E0741.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6A
Deuteranopia (green-blind)
#F9E479
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8e074;
/* rgb */ color: rgb(248, 224, 116);
/* oklch */ color: oklch(90.5% 0.131 97.0);
Tailwind
colors: {
  custom: {
    50: '#fde99f',
    500: '#f8e074',
    950: '#000000',
  },
}
SCSS
$custom: #f8e074;
$custom-light: #fde99f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e074",
  "rgb": {
    "r": 248,
    "g": 224,
    "b": 116
  },
  "hsl": {
    "h": 49.091,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.90498,
    "c": 0.13094,
    "h": 97
  },
  "luminance": 0.74529
}

Semantic roles & 50–950 ramp

primary
#F8E074
secondary
#3D58D3
accent
#2AE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E074

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

Preview Lab → · Contrast checker → · Palette generator →

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