#E2EC54#E2EC54

#E2EC54 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 90.8% C 0.171 H 112.9°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#E2EC54
RGBrgb(226, 236, 84)
HSLhsl(64, 80%, 63%)
HSVhsv(64, 64%, 93%)
CMYKcmyk(4.2%, 0%, 64.4%, 7.5%)
CIE-LABlab(90.23, -22.03, 69.67)
CIE-LCHlch(90.23, 73.07, 107.54°)
OKLaboklab(90.82% -0.0666 0.1574)
OKLCHoklch(90.82% 0.171 112.9)
XYZxyz(62.9614, 76.8011, 19.8932)
Luminance0.7680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC54 #5E54EC
analogous
#ECAA54 #E2EC54 #96EC54
triadic
#E2EC54 #54E2EC #EC54E2
tetradic
#E2EC54 #54ECAA #5E54EC #EC5496
square
#E2EC54 #54ECAA #5E54EC #EC5496
split-complementary
#E2EC54 #5496EC #AA54EC
monochromatic
#A7B214 #D9E61D #E2EC54 #EBF28B #F5F8C2

Accessibility & contrast

On white

1.28
#E2EC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.36
#E2EC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EC54
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EC54#FFFFFF#000000##000000
##E2EC541.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE13F
Deuteranopia (green-blind)
#FDE55E
Tritanopia (blue-blind)
#F0DFCD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e2ec54;
/* rgb */ color: rgb(226, 236, 84);
/* oklch */ color: oklch(90.8% 0.171 112.9);
Tailwind
colors: {
  custom: {
    50: '#eef28b',
    500: '#e2ec54',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec54;
$custom-light: #eef28b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec54",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 84
  },
  "hsl": {
    "h": 63.947,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.90819,
    "c": 0.17088,
    "h": 112.9
  },
  "luminance": 0.768
}

Semantic roles & 50–950 ramp

primary
#E2EC54
secondary
#3B32B2
accent
#09DC17
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E2EC54

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

Preview Lab → · Contrast checker → · Palette generator →

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