#F8E06D#F8E06D

#F8E06D is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.4% C 0.137 H 97.7°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#F8E06D
RGBrgb(248, 224, 109)
HSLhsl(50, 91%, 70%)
HSVhsv(50, 56%, 97%)
CMYKcmyk(0%, 9.7%, 56%, 2.7%)
CIE-LABlab(89.10, -5.54, 58.36)
CIE-LCHlch(89.10, 58.62, 95.42°)
OKLaboklab(90.42% -0.0184 0.136)
OKLCHoklch(90.42% 0.137 97.7)
XYZxyz(68.1299, 74.3748, 25.2321)
Luminance0.7437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E06D #6D85F8
analogous
#F89A6D #F8E06D #CBF86D
triadic
#F8E06D #6DF8E0 #E06DF8
tetradic
#F8E06D #6DF89A #6D85F8 #F86DCB
square
#F8E06D #6DF89A #6D85F8 #F86DCB
split-complementary
#F8E06D #6DCBF8 #9A6DF8
monochromatic
#E0BB0B #F5D433 #F8E06D #FBECA7 #FEF9E2

Accessibility & contrast

On white

1.32
#F8E06D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.87
#F8E06D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E06D
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E06D#FFFFFF#000000##000000
##F8E06D1.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB62
Deuteranopia (green-blind)
#F9E372
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8e06d;
/* rgb */ color: rgb(248, 224, 109);
/* oklch */ color: oklch(90.4% 0.137 97.7);
Tailwind
colors: {
  custom: {
    50: '#fde99a',
    500: '#f8e06d',
    950: '#000000',
  },
}
SCSS
$custom: #f8e06d;
$custom-light: #fde99a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e06d",
  "rgb": {
    "r": 248,
    "g": 224,
    "b": 109
  },
  "hsl": {
    "h": 49.64,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.90416,
    "c": 0.13726,
    "h": 97.7
  },
  "luminance": 0.74372
}

Semantic roles & 50–950 ramp

primary
#F8E06D
secondary
#3752D2
accent
#28E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E06D

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

Preview Lab → · Contrast checker → · Palette generator →

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