#FFEC86#FFEC86

#FFEC86 is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.7% C 0.125 H 99.0°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#FFEC86
RGBrgb(255, 236, 134)
HSLhsl(51, 100%, 76%)
HSVhsv(51, 47%, 100%)
CMYKcmyk(0%, 7.5%, 47.5%, 0%)
CIE-LABlab(93.00, -6.70, 51.48)
CIE-LCHlch(93.00, 51.91, 97.41°)
OKLaboklab(93.74% -0.0195 0.1231)
OKLCHoklch(93.74% 0.125 99)
XYZxyz(75.5407, 82.9748, 34.5862)
Luminance0.8297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC86 #8699FF
analogous
#FFB086 #FFEC86 #D5FF86
triadic
#FFEC86 #86FFEC #EC86FF
tetradic
#FFEC86 #86FFB0 #8699FF #FF86D5
square
#FFEC86 #86FFB0 #8699FF #FF86D5
split-complementary
#FFEC86 #86D5FF #B086FF
monochromatic
#FFD90C #FFE249 #FFEC86 #FFF6C3 #FFFAE0

Accessibility & contrast

On white

1.19
#FFEC86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.59
#FFEC86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC86
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC86#FFFFFF#000000##000000
##FFEC861.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE77D
Deuteranopia (green-blind)
#FFEE8A
Tritanopia (blue-blind)
#FFDFD4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffec86;
/* rgb */ color: rgb(255, 236, 134);
/* oklch */ color: oklch(93.7% 0.125 99.0);
Tailwind
colors: {
  custom: {
    50: '#fff1ab',
    500: '#ffec86',
    950: '#000000',
  },
}
SCSS
$custom: #ffec86;
$custom-light: #fff1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec86",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 134
  },
  "hsl": {
    "h": 50.579,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.93739,
    "c": 0.12464,
    "h": 99
  },
  "luminance": 0.82972
}

Semantic roles & 50–950 ramp

primary
#FFEC86
secondary
#4A62DF
accent
#24E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FFEC86

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

Preview Lab → · Contrast checker → · Palette generator →

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