#F8EA76#F8EA76

#F8EA76 is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.5% C 0.138 H 102.5°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#F8EA76
RGBrgb(248, 234, 118)
HSLhsl(54, 90%, 72%)
HSVhsv(54, 52%, 97%)
CMYKcmyk(0%, 5.6%, 52.4%, 2.7%)
CIE-LABlab(91.74, -9.84, 57.31)
CIE-LCHlch(91.74, 58.15, 99.74°)
OKLaboklab(92.54% -0.0298 0.1347)
OKLCHoklch(92.54% 0.138 102.5)
XYZxyz(71.4064, 80.1126, 28.8379)
Luminance0.8011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA76 #7684F8
analogous
#F8A976 #F8EA76 #C5F876
triadic
#F8EA76 #76F8EA #EA76F8
tetradic
#F8EA76 #76F8A9 #7684F8 #F876C5
square
#F8EA76 #76F8A9 #7684F8 #F876C5
split-complementary
#F8EA76 #76C5F8 #A976F8
monochromatic
#E8D00C #F5E13C #F8EA76 #FBF3B0 #FEFBE2

Accessibility & contrast

On white

1.23
#F8EA76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.02
#F8EA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA76
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA76#FFFFFF#000000##000000
##F8EA761.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46B
Deuteranopia (green-blind)
#FFEA7B
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f8ea76;
/* rgb */ color: rgb(248, 234, 118);
/* oklch */ color: oklch(92.5% 0.138 102.5);
Tailwind
colors: {
  custom: {
    50: '#fdf0a0',
    500: '#f8ea76',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea76;
$custom-light: #fdf0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea76",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 118
  },
  "hsl": {
    "h": 53.538,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92536,
    "c": 0.13793,
    "h": 102.5
  },
  "luminance": 0.8011
}

Semantic roles & 50–950 ramp

primary
#F8EA76
secondary
#3F4FD4
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8EA76

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

Preview Lab → · Contrast checker → · Palette generator →

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