#F8E176#F8E176

#F8E176 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.7% C 0.130 H 97.4°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#F8E176
RGBrgb(248, 225, 118)
HSLhsl(49, 90%, 72%)
HSVhsv(49, 52%, 97%)
CMYKcmyk(0%, 9.3%, 52.4%, 2.7%)
CIE-LABlab(89.45, -5.34, 54.62)
CIE-LCHlch(89.45, 54.88, 95.59°)
OKLaboklab(90.72% -0.0168 0.1288)
OKLCHoklch(90.72% 0.13 97.4)
XYZxyz(68.9090, 75.1177, 28.0054)
Luminance0.7511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E176 #768DF8
analogous
#F8A076 #F8E176 #CEF876
triadic
#F8E176 #76F8E1 #E176F8
tetradic
#F8E176 #76F8A0 #768DF8 #F876CE
square
#F8E176 #76F8A0 #768DF8 #F876CE
split-complementary
#F8E176 #76CEF8 #A076F8
monochromatic
#E8C10C #F5D43C #F8E176 #FBEEB0 #FEF9E2

Accessibility & contrast

On white

1.31
#F8E176 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.02
#F8E176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E176
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E176#FFFFFF#000000##000000
##F8E1761.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6C
Deuteranopia (green-blind)
#F9E47B
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f8e176;
/* rgb */ color: rgb(248, 225, 118);
/* oklch */ color: oklch(90.7% 0.130 97.4);
Tailwind
colors: {
  custom: {
    50: '#fdeaa0',
    500: '#f8e176',
    950: '#000000',
  },
}
SCSS
$custom: #f8e176;
$custom-light: #fdeaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e176",
  "rgb": {
    "r": 248,
    "g": 225,
    "b": 118
  },
  "hsl": {
    "h": 49.385,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90723,
    "c": 0.1299,
    "h": 97.4
  },
  "luminance": 0.75115
}

Semantic roles & 50–950 ramp

primary
#F8E176
secondary
#3F59D4
accent
#29E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E176

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

Preview Lab → · Contrast checker → · Palette generator →

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