#F8E76B#F8E76B

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

Color values

HEX#F8E76B
RGBrgb(248, 231, 107)
HSLhsl(53, 91%, 70%)
HSVhsv(53, 57%, 97%)
CMYKcmyk(0%, 6.9%, 56.9%, 2.7%)
CIE-LABlab(90.86, -9.19, 61.26)
CIE-LCHlch(90.86, 61.95, 98.53°)
OKLaboklab(91.8% -0.0291 0.142)
OKLCHoklch(91.8% 0.145 101.6)
XYZxyz(69.9436, 78.1725, 25.3116)
Luminance0.7817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E76B #6B7CF8
analogous
#F8A16B #F8E76B #C3F86B
triadic
#F8E76B #6BF8E7 #E76BF8
tetradic
#F8E76B #6BF8A1 #6B7CF8 #F86BC3
square
#F8E76B #6BF8A1 #6B7CF8 #F86BC3
split-complementary
#F8E76B #6BC3F8 #A16BF8
monochromatic
#DEC50B #F5DE31 #F8E76B #FBF0A5 #FEFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8E76B#FFFFFF#000000##000000
##F8E76B1.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)
#FAE15E
Deuteranopia (green-blind)
#FFE871
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e76b;
/* rgb */ color: rgb(248, 231, 107);
/* oklch */ color: oklch(91.8% 0.145 101.6);
Tailwind
colors: {
  custom: {
    50: '#fdee99',
    500: '#f8e76b',
    950: '#000000',
  },
}
SCSS
$custom: #f8e76b;
$custom-light: #fdee99;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e76b",
  "rgb": {
    "r": 248,
    "g": 231,
    "b": 107
  },
  "hsl": {
    "h": 52.766,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91804,
    "c": 0.14499,
    "h": 101.6
  },
  "luminance": 0.7817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8E76B

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

Preview Lab → · Contrast checker → · Palette generator →

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