#F8E76A#F8E76A

#F8E76A is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.8% C 0.146 H 101.6°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#F8E76A
RGBrgb(248, 231, 106)
HSLhsl(53, 91%, 69%)
HSVhsv(53, 57%, 97%)
CMYKcmyk(0%, 6.9%, 57.3%, 2.7%)
CIE-LABlab(90.85, -9.26, 61.70)
CIE-LCHlch(90.85, 62.39, 98.53°)
OKLaboklab(91.79% -0.0294 0.1429)
OKLCHoklch(91.79% 0.146 101.6)
XYZxyz(69.8913, 78.1516, 25.0361)
Luminance0.7815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E76A #6A7BF8
analogous
#F8A06A #F8E76A #C2F86A
triadic
#F8E76A #6AF8E7 #E76AF8
tetradic
#F8E76A #6AF8A0 #6A7BF8 #F86AC2
square
#F8E76A #6AF8A0 #6A7BF8 #F86AC2
split-complementary
#F8E76A #6AC2F8 #A06AF8
monochromatic
#DDC40A #F5DE30 #F8E76A #FBF0A4 #FDFADF

Accessibility & contrast

On white

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

On black

16.63
#F8E76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E76A
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E76A#FFFFFF#000000##000000
##F8E76A1.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8e76a;
/* rgb */ color: rgb(248, 231, 106);
/* oklch */ color: oklch(91.8% 0.146 101.6);
Tailwind
colors: {
  custom: {
    50: '#fdee99',
    500: '#f8e76a',
    950: '#000000',
  },
}
SCSS
$custom: #f8e76a;
$custom-light: #fdee99;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e76a",
  "rgb": {
    "r": 248,
    "g": 231,
    "b": 106
  },
  "hsl": {
    "h": 52.817,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91793,
    "c": 0.14584,
    "h": 101.6
  },
  "luminance": 0.78149
}

Semantic roles & 50–950 ramp

primary
#F8E76A
secondary
#3447D2
accent
#1BE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E76A

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

Preview Lab → · Contrast checker → · Palette generator →

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