#F8E276#F8E276

#F8E276 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.9% C 0.131 H 98.0°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#F8E276
RGBrgb(248, 226, 118)
HSLhsl(50, 90%, 72%)
HSVhsv(50, 52%, 97%)
CMYKcmyk(0%, 8.9%, 52.4%, 2.7%)
CIE-LABlab(89.70, -5.85, 54.92)
CIE-LCHlch(89.70, 55.23, 96.08°)
OKLaboklab(90.92% -0.0183 0.1295)
OKLCHoklch(90.92% 0.131 98)
XYZxyz(69.1801, 75.6599, 28.0958)
Luminance0.7566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E276 #768CF8
analogous
#F8A176 #F8E276 #CDF876
triadic
#F8E276 #76F8E2 #E276F8
tetradic
#F8E276 #76F8A1 #768CF8 #F876CD
square
#F8E276 #76F8A1 #768CF8 #F876CD
split-complementary
#F8E276 #76CDF8 #A176F8
monochromatic
#E8C30C #F5D63C #F8E276 #FBEEB0 #FEF9E2

Accessibility & contrast

On white

1.30
#F8E276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.13
#F8E276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E276
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E276#FFFFFF#000000##000000
##F8E2761.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6C
Deuteranopia (green-blind)
#FAE57B
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f8e276;
/* rgb */ color: rgb(248, 226, 118);
/* oklch */ color: oklch(90.9% 0.131 98.0);
Tailwind
colors: {
  custom: {
    50: '#fdeaa0',
    500: '#f8e276',
    950: '#000000',
  },
}
SCSS
$custom: #f8e276;
$custom-light: #fdeaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e276",
  "rgb": {
    "r": 248,
    "g": 226,
    "b": 118
  },
  "hsl": {
    "h": 49.846,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90923,
    "c": 0.13075,
    "h": 98
  },
  "luminance": 0.75657
}

Semantic roles & 50–950 ramp

primary
#F8E276
secondary
#3F58D4
accent
#27E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E276

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

Preview Lab → · Contrast checker → · Palette generator →

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