#E2EC59#E2EC59

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

Color values

HEX#E2EC59
RGBrgb(226, 236, 89)
HSLhsl(64, 79%, 64%)
HSVhsv(64, 62%, 93%)
CMYKcmyk(4.2%, 0%, 62.3%, 7.5%)
CIE-LABlab(90.27, -21.72, 67.74)
CIE-LCHlch(90.27, 71.13, 107.78°)
OKLaboklab(90.86% -0.0653 0.154)
OKLCHoklch(90.86% 0.167 113)
XYZxyz(63.1643, 76.8822, 20.9616)
Luminance0.7688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC59 #6359EC
analogous
#ECAC59 #E2EC59 #98EC59
triadic
#E2EC59 #59E2EC #EC59E2
tetradic
#E2EC59 #59ECAC #6359EC #EC5998
square
#E2EC59 #59ECAC #6359EC #EC5998
split-complementary
#E2EC59 #5998EC #AC59EC
monochromatic
#ABB615 #D8E622 #E2EC59 #ECF290 #F5F9C7

Accessibility & contrast

On white

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

On black

16.38
#E2EC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EC59
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EC59#FFFFFF#000000##000000
##E2EC591.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE146
Deuteranopia (green-blind)
#FDE563
Tritanopia (blue-blind)
#F0DFCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e2ec59;
/* rgb */ color: rgb(226, 236, 89);
/* oklch */ color: oklch(90.9% 0.167 113.0);
Tailwind
colors: {
  custom: {
    50: '#eef28e',
    500: '#e2ec59',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec59;
$custom-light: #eef28e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec59",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 89
  },
  "hsl": {
    "h": 64.082,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.90861,
    "c": 0.16726,
    "h": 113
  },
  "luminance": 0.76881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2EC59

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

Preview Lab → · Contrast checker → · Palette generator →

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