#E8EC56#E8EC56

#E8EC56 is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.3% C 0.168 H 110.8°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#E8EC56
RGBrgb(232, 236, 86)
HSLhsl(62, 80%, 63%)
HSVhsv(62, 64%, 93%)
CMYKcmyk(1.7%, 0%, 63.6%, 7.5%)
CIE-LABlab(90.70, -19.49, 69.52)
CIE-LCHlch(90.70, 72.20, 105.66°)
OKLaboklab(91.31% -0.0596 0.1572)
OKLCHoklch(91.31% 0.168 110.8)
XYZxyz(64.9558, 77.8202, 20.4014)
Luminance0.7782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8EC56 #5A56EC
analogous
#ECA556 #E8EC56 #9DEC56
triadic
#E8EC56 #56E8EC #EC56E8
tetradic
#E8EC56 #56ECA5 #5A56EC #EC569D
square
#E8EC56 #56ECA5 #5A56EC #EC569D
split-complementary
#E8EC56 #569DEC #A556EC
monochromatic
#AFB314 #E1E61F #E8EC56 #EFF28D #F7F8C4

Accessibility & contrast

On white

1.27
#E8EC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#E8EC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8EC56
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8EC56#FFFFFF#000000##000000
##E8EC561.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE242
Deuteranopia (green-blind)
#FFE660
Tritanopia (blue-blind)
#F7DECD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e8ec56;
/* rgb */ color: rgb(232, 236, 86);
/* oklch */ color: oklch(91.3% 0.168 110.8);
Tailwind
colors: {
  custom: {
    50: '#f3f18d',
    500: '#e8ec56',
    950: '#000000',
  },
}
SCSS
$custom: #e8ec56;
$custom-light: #f3f18d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ec56",
  "rgb": {
    "r": 232,
    "g": 236,
    "b": 86
  },
  "hsl": {
    "h": 61.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.91309,
    "c": 0.16811,
    "h": 110.8
  },
  "luminance": 0.77819
}

Semantic roles & 50–950 ramp

primary
#E8EC56
secondary
#3633B3
accent
#09DC0F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E8EC56

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

Preview Lab → · Contrast checker → · Palette generator →

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