#E8EC54#E8EC54

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

Color values

HEX#E8EC54
RGBrgb(232, 236, 84)
HSLhsl(62, 80%, 63%)
HSVhsv(62, 64%, 93%)
CMYKcmyk(1.7%, 0%, 64.4%, 7.5%)
CIE-LABlab(90.68, -19.61, 70.28)
CIE-LCHlch(90.68, 72.96, 105.59°)
OKLaboklab(91.29% -0.0602 0.1585)
OKLCHoklch(91.29% 0.17 110.8)
XYZxyz(64.8764, 77.7885, 19.9829)
Luminance0.7779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8EC54 #5854EC
analogous
#ECA454 #E8EC54 #9CEC54
triadic
#E8EC54 #54E8EC #EC54E8
tetradic
#E8EC54 #54ECA4 #5854EC #EC549C
square
#E8EC54 #54ECA4 #5854EC #EC549C
split-complementary
#E8EC54 #549CEC #A454EC
monochromatic
#AEB214 #E1E61D #E8EC54 #EFF28B #F7F8C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8EC54#FFFFFF#000000##000000
##E8EC541.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)
#FEE23F
Deuteranopia (green-blind)
#FFE65E
Tritanopia (blue-blind)
#F7DECD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e8ec54;
/* rgb */ color: rgb(232, 236, 84);
/* oklch */ color: oklch(91.3% 0.170 110.8);
Tailwind
colors: {
  custom: {
    50: '#f3f18c',
    500: '#e8ec54',
    950: '#000000',
  },
}
SCSS
$custom: #e8ec54;
$custom-light: #f3f18c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ec54",
  "rgb": {
    "r": 232,
    "g": 236,
    "b": 84
  },
  "hsl": {
    "h": 61.579,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.91293,
    "c": 0.16953,
    "h": 110.8
  },
  "luminance": 0.77787
}

Semantic roles & 50–950 ramp

primary
#E8EC54
secondary
#3632B2
accent
#09DC0F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E8EC54

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

Preview Lab → · Contrast checker → · Palette generator →

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