#F8E986#F8E986

#F8E986 is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.5% C 0.121 H 100.8°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#F8E986
RGBrgb(248, 233, 134)
HSLhsl(52, 89%, 75%)
HSVhsv(52, 46%, 97%)
CMYKcmyk(0%, 6%, 46%, 2.7%)
CIE-LABlab(91.67, -7.96, 49.70)
CIE-LCHlch(91.67, 50.34, 99.10°)
OKLaboklab(92.54% -0.0227 0.1193)
OKLCHoklch(92.54% 0.121 100.8)
XYZxyz(72.1552, 79.9579, 34.1822)
Luminance0.7996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E986 #8695F8
analogous
#F8B086 #F8E986 #CEF886
triadic
#F8E986 #86F8E9 #E986F8
tetradic
#F8E986 #86F8B0 #8695F8 #F886CE
square
#F8E986 #86F8B0 #8695F8 #F886CE
split-complementary
#F8E986 #86CEF8 #B086F8
monochromatic
#F1D412 #F5DE4C #F8E986 #FBF4C0 #FDFAE2

Accessibility & contrast

On white

1.24
#F8E986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#F8E986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E986
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E986#FFFFFF#000000##000000
##F8E9861.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE37E
Deuteranopia (green-blind)
#FEEA8A
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f8e986;
/* rgb */ color: rgb(248, 233, 134);
/* oklch */ color: oklch(92.5% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#fcefab',
    500: '#f8e986',
    950: '#000000',
  },
}
SCSS
$custom: #f8e986;
$custom-light: #fcefab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e986",
  "rgb": {
    "r": 248,
    "g": 233,
    "b": 134
  },
  "hsl": {
    "h": 52.105,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92541,
    "c": 0.12142,
    "h": 100.8
  },
  "luminance": 0.79956
}

Semantic roles & 50–950 ramp

primary
#F8E986
secondary
#4D5FD6
accent
#1EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F8E986

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

Preview Lab → · Contrast checker → · Palette generator →

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