#F8E76D#F8E76D

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

Color values

HEX#F8E76D
RGBrgb(248, 231, 109)
HSLhsl(53, 91%, 70%)
HSVhsv(53, 56%, 97%)
CMYKcmyk(0%, 6.9%, 56%, 2.7%)
CIE-LABlab(90.88, -9.04, 60.40)
CIE-LCHlch(90.88, 61.07, 98.51°)
OKLaboklab(91.83% -0.0284 0.1404)
OKLCHoklch(91.83% 0.143 101.5)
XYZxyz(70.0501, 78.2151, 25.8721)
Luminance0.7821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E76D #6D7EF8
analogous
#F8A26D #F8E76D #C3F86D
triadic
#F8E76D #6DF8E7 #E76DF8
tetradic
#F8E76D #6DF8A2 #6D7EF8 #F86DC3
square
#F8E76D #6DF8A2 #6D7EF8 #F86DC3
split-complementary
#F8E76D #6DC3F8 #A26DF8
monochromatic
#E0C60B #F5DD33 #F8E76D #FBF1A7 #FEFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8E76D#FFFFFF#000000##000000
##F8E76D1.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)
#FAE161
Deuteranopia (green-blind)
#FFE873
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e76d;
/* rgb */ color: rgb(248, 231, 109);
/* oklch */ color: oklch(91.8% 0.143 101.5);
Tailwind
colors: {
  custom: {
    50: '#fdee9a',
    500: '#f8e76d',
    950: '#000000',
  },
}
SCSS
$custom: #f8e76d;
$custom-light: #fdee9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e76d",
  "rgb": {
    "r": 248,
    "g": 231,
    "b": 109
  },
  "hsl": {
    "h": 52.662,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.91826,
    "c": 0.14326,
    "h": 101.5
  },
  "luminance": 0.78212
}

Semantic roles & 50–950 ramp

primary
#F8E76D
secondary
#374AD2
accent
#1CE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E76D

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

Preview Lab → · Contrast checker → · Palette generator →

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