#F8E86A#F8E86A

#F8E86A is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 92.0% C 0.147 H 102.1°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#F8E86A
RGBrgb(248, 232, 106)
HSLhsl(53, 91%, 69%)
HSVhsv(53, 57%, 97%)
CMYKcmyk(0%, 6.5%, 57.3%, 2.7%)
CIE-LABlab(91.10, -9.75, 61.98)
CIE-LCHlch(91.10, 62.75, 98.94°)
OKLaboklab(92% -0.0308 0.1435)
OKLCHoklch(92% 0.147 102.1)
XYZxyz(70.1720, 78.7129, 25.1297)
Luminance0.7871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E86A #6A7AF8
analogous
#F8A16A #F8E86A #C1F86A
triadic
#F8E86A #6AF8E8 #E86AF8
tetradic
#F8E86A #6AF8A1 #6A7AF8 #F86AC1
square
#F8E86A #6AF8A1 #6A7AF8 #F86AC1
split-complementary
#F8E86A #6AC1F8 #A16AF8
monochromatic
#DDC50A #F5DF30 #F8E86A #FBF1A4 #FDFADF

Accessibility & contrast

On white

1.25
#F8E86A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#F8E86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E86A
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E86A#FFFFFF#000000##000000
##F8E86A1.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE15D
Deuteranopia (green-blind)
#FFE970
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e86a;
/* rgb */ color: rgb(248, 232, 106);
/* oklch */ color: oklch(92.0% 0.147 102.1);
Tailwind
colors: {
  custom: {
    50: '#fdef99',
    500: '#f8e86a',
    950: '#000000',
  },
}
SCSS
$custom: #f8e86a;
$custom-light: #fdef99;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e86a",
  "rgb": {
    "r": 248,
    "g": 232,
    "b": 106
  },
  "hsl": {
    "h": 53.239,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91996,
    "c": 0.14674,
    "h": 102.1
  },
  "luminance": 0.7871
}

Semantic roles & 50–950 ramp

primary
#F8E86A
secondary
#3446D2
accent
#1AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8E86A

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

Preview Lab → · Contrast checker → · Palette generator →

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