#E2EC62#E2EC62

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

Color values

HEX#E2EC62
RGBrgb(226, 236, 98)
HSLhsl(64, 78%, 65%)
HSVhsv(64, 58%, 93%)
CMYKcmyk(4.2%, 0%, 58.5%, 7.5%)
CIE-LABlab(90.34, -21.12, 64.11)
CIE-LCHlch(90.34, 67.49, 108.23°)
OKLaboklab(90.94% -0.0627 0.1475)
OKLCHoklch(90.94% 0.16 113)
XYZxyz(63.5656, 77.0427, 23.0751)
Luminance0.7704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC62 #6C62EC
analogous
#ECB162 #E2EC62 #9DEC62
triadic
#E2EC62 #62E2EC #EC62E2
tetradic
#E2EC62 #62ECB1 #6C62EC #EC629D
square
#E2EC62 #62ECB1 #6C62EC #EC629D
split-complementary
#E2EC62 #629DEC #B162EC
monochromatic
#B1BD17 #D8E52B #E2EC62 #ECF399 #F6F9CF

Accessibility & contrast

On white

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

On black

16.41
#E2EC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EC62
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EC62#FFFFFF#000000##000000
##E2EC621.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE252
Deuteranopia (green-blind)
#FCE56A
Tritanopia (blue-blind)
#F0DFCF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e2ec62;
/* rgb */ color: rgb(226, 236, 98);
/* oklch */ color: oklch(90.9% 0.160 113.0);
Tailwind
colors: {
  custom: {
    50: '#eef294',
    500: '#e2ec62',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec62;
$custom-light: #eef294;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec62",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 98
  },
  "hsl": {
    "h": 64.348,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.90944,
    "c": 0.16024,
    "h": 113
  },
  "luminance": 0.77041
}

Semantic roles & 50–950 ramp

primary
#E2EC62
secondary
#4037BC
accent
#0BDB1A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160D
muted
#85857F

Preview Lab

Preview with #E2EC62

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

Preview Lab → · Contrast checker → · Palette generator →

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