#F8EC86#F8EC86

#F8EC86 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 93.1% C 0.124 H 102.6°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#F8EC86
RGBrgb(248, 236, 134)
HSLhsl(54, 89%, 75%)
HSVhsv(54, 46%, 97%)
CMYKcmyk(0%, 4.8%, 46%, 2.7%)
CIE-LABlab(92.43, -9.45, 50.64)
CIE-LCHlch(92.43, 51.52, 100.57°)
OKLaboklab(93.15% -0.027 0.1214)
OKLCHoklch(93.15% 0.124 102.6)
XYZxyz(73.0117, 81.6708, 34.4677)
Luminance0.8167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EC86 #8692F8
analogous
#F8B386 #F8EC86 #CBF886
triadic
#F8EC86 #86F8EC #EC86F8
tetradic
#F8EC86 #86F8B3 #8692F8 #F886CB
square
#F8EC86 #86F8B3 #8692F8 #F886CB
split-complementary
#F8EC86 #86CBF8 #B386F8
monochromatic
#F1DA12 #F5E34C #F8EC86 #FBF5C0 #FDFAE2

Accessibility & contrast

On white

1.21
#F8EC86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.33
#F8EC86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EC86
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EC86#FFFFFF#000000##000000
##F8EC861.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE67D
Deuteranopia (green-blind)
#FFEC8A
Tritanopia (blue-blind)
#FFE0D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8ec86;
/* rgb */ color: rgb(248, 236, 134);
/* oklch */ color: oklch(93.1% 0.124 102.6);
Tailwind
colors: {
  custom: {
    50: '#fcf2ab',
    500: '#f8ec86',
    950: '#000000',
  },
}
SCSS
$custom: #f8ec86;
$custom-light: #fcf2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ec86",
  "rgb": {
    "r": 248,
    "g": 236,
    "b": 134
  },
  "hsl": {
    "h": 53.684,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.93146,
    "c": 0.12433,
    "h": 102.6
  },
  "luminance": 0.81669
}

Semantic roles & 50–950 ramp

primary
#F8EC86
secondary
#4D5BD6
accent
#18E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F8EC86

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

Preview Lab → · Contrast checker → · Palette generator →

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