#E2EC57#E2EC57

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

Color values

HEX#E2EC57
RGBrgb(226, 236, 87)
HSLhsl(64, 80%, 63%)
HSVhsv(64, 63%, 93%)
CMYKcmyk(4.2%, 0%, 63.1%, 7.5%)
CIE-LABlab(90.25, -21.84, 68.52)
CIE-LCHlch(90.25, 71.92, 107.68°)
OKLaboklab(90.84% -0.0658 0.1554)
OKLCHoklch(90.84% 0.169 113)
XYZxyz(63.0815, 76.8491, 20.5253)
Luminance0.7685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC57 #6157EC
analogous
#ECAB57 #E2EC57 #97EC57
triadic
#E2EC57 #57E2EC #EC57E2
tetradic
#E2EC57 #57ECAB #6157EC #EC5797
square
#E2EC57 #57ECAB #6157EC #EC5797
split-complementary
#E2EC57 #5797EC #AB57EC
monochromatic
#A9B414 #D9E620 #E2EC57 #EBF28E #F5F8C5

Accessibility & contrast

On white

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

On black

16.37
#E2EC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EC57
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EC57#FFFFFF#000000##000000
##E2EC571.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2ec57;
/* rgb */ color: rgb(226, 236, 87);
/* oklch */ color: oklch(90.8% 0.169 113.0);
Tailwind
colors: {
  custom: {
    50: '#eef28d',
    500: '#e2ec57',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec57;
$custom-light: #eef28d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec57",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 87
  },
  "hsl": {
    "h": 64.027,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90844,
    "c": 0.16872,
    "h": 113
  },
  "luminance": 0.76848
}

Semantic roles & 50–950 ramp

primary
#E2EC57
secondary
#3C33B4
accent
#0ADC18
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E2EC57

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

Preview Lab → · Contrast checker → · Palette generator →

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