#F8E76C#F8E76C

#F8E76C is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.8% C 0.144 H 101.5°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#F8E76C
RGBrgb(248, 231, 108)
HSLhsl(53, 91%, 70%)
HSVhsv(53, 56%, 97%)
CMYKcmyk(0%, 6.9%, 56.5%, 2.7%)
CIE-LABlab(90.87, -9.11, 60.83)
CIE-LCHlch(90.87, 61.51, 98.52°)
OKLaboklab(91.82% -0.0288 0.1412)
OKLCHoklch(91.82% 0.144 101.5)
XYZxyz(69.9965, 78.1936, 25.5903)
Luminance0.7819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E76C #6C7DF8
analogous
#F8A16C #F8E76C #C3F86C
triadic
#F8E76C #6CF8E7 #E76CF8
tetradic
#F8E76C #6CF8A1 #6C7DF8 #F86CC3
square
#F8E76C #6CF8A1 #6C7DF8 #F86CC3
split-complementary
#F8E76C #6CC3F8 #A16CF8
monochromatic
#DFC50B #F5DD32 #F8E76C #FBF1A6 #FEFAE1

Accessibility & contrast

On white

1.26
#F8E76C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#F8E76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E76C
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E76C#FFFFFF#000000##000000
##F8E76C1.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE15F
Deuteranopia (green-blind)
#FFE872
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e76c;
/* rgb */ color: rgb(248, 231, 108);
/* oklch */ color: oklch(91.8% 0.144 101.5);
Tailwind
colors: {
  custom: {
    50: '#fdee9a',
    500: '#f8e76c',
    950: '#000000',
  },
}
SCSS
$custom: #f8e76c;
$custom-light: #fdee9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e76c",
  "rgb": {
    "r": 248,
    "g": 231,
    "b": 108
  },
  "hsl": {
    "h": 52.714,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91815,
    "c": 0.14413,
    "h": 101.5
  },
  "luminance": 0.78191
}

Semantic roles & 50–950 ramp

primary
#F8E76C
secondary
#3649D2
accent
#1CE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E76C

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

Preview Lab → · Contrast checker → · Palette generator →

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