#F8E06F#F8E06F

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

Color values

HEX#F8E06F
RGBrgb(248, 224, 111)
HSLhsl(49, 91%, 70%)
HSVhsv(49, 55%, 97%)
CMYKcmyk(0%, 9.7%, 55.2%, 2.7%)
CIE-LABlab(89.12, -5.39, 57.47)
CIE-LCHlch(89.12, 57.72, 95.36°)
OKLaboklab(90.44% -0.0177 0.1343)
OKLCHoklch(90.44% 0.135 97.5)
XYZxyz(68.2388, 74.4183, 25.8056)
Luminance0.7441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E06F #6F87F8
analogous
#F89B6F #F8E06F #CBF86F
triadic
#F8E06F #6FF8E0 #E06FF8
tetradic
#F8E06F #6FF89B #6F87F8 #F86FCB
square
#F8E06F #6FF89B #6F87F8 #F86FCB
split-complementary
#F8E06F #6FCBF8 #9B6FF8
monochromatic
#E2BC0B #F5D335 #F8E06F #FBEDA9 #FEF9E2

Accessibility & contrast

On white

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

On black

15.88
#F8E06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E06F
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E06F#FFFFFF#000000##000000
##F8E06F1.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB64
Deuteranopia (green-blind)
#F9E374
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8e06f;
/* rgb */ color: rgb(248, 224, 111);
/* oklch */ color: oklch(90.4% 0.135 97.5);
Tailwind
colors: {
  custom: {
    50: '#fde99b',
    500: '#f8e06f',
    950: '#000000',
  },
}
SCSS
$custom: #f8e06f;
$custom-light: #fde99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e06f",
  "rgb": {
    "r": 248,
    "g": 224,
    "b": 111
  },
  "hsl": {
    "h": 49.489,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90439,
    "c": 0.13549,
    "h": 97.5
  },
  "luminance": 0.74415
}

Semantic roles & 50–950 ramp

primary
#F8E06F
secondary
#3854D3
accent
#28E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E06F

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

Preview Lab → · Contrast checker → · Palette generator →

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