#E2EC58#E2EC58

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

Color values

HEX#E2EC58
RGBrgb(226, 236, 88)
HSLhsl(64, 80%, 64%)
HSVhsv(64, 63%, 93%)
CMYKcmyk(4.2%, 0%, 62.7%, 7.5%)
CIE-LABlab(90.26, -21.78, 68.13)
CIE-LCHlch(90.26, 71.53, 107.73°)
OKLaboklab(90.85% -0.0655 0.1547)
OKLCHoklch(90.85% 0.168 113)
XYZxyz(63.1226, 76.8655, 20.7420)
Luminance0.7686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC58 #6258EC
analogous
#ECAC58 #E2EC58 #98EC58
triadic
#E2EC58 #58E2EC #EC58E2
tetradic
#E2EC58 #58ECAC #6258EC #EC5898
square
#E2EC58 #58ECAC #6258EC #EC5898
split-complementary
#E2EC58 #5898EC #AC58EC
monochromatic
#AAB515 #D8E621 #E2EC58 #ECF28F #F5F9C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2EC58#FFFFFF#000000##000000
##E2EC581.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)
#FDE145
Deuteranopia (green-blind)
#FDE562
Tritanopia (blue-blind)
#F0DFCD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e2ec58;
/* rgb */ color: rgb(226, 236, 88);
/* oklch */ color: oklch(90.9% 0.168 113.0);
Tailwind
colors: {
  custom: {
    50: '#eef28e',
    500: '#e2ec58',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec58;
$custom-light: #eef28e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec58",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 88
  },
  "hsl": {
    "h": 64.054,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.90852,
    "c": 0.16799,
    "h": 113
  },
  "luminance": 0.76864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2EC58

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

Preview Lab → · Contrast checker → · Palette generator →

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