#E2EC5E#E2EC5E

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

Color values

HEX#E2EC5E
RGBrgb(226, 236, 94)
HSLhsl(64, 79%, 65%)
HSVhsv(64, 60%, 93%)
CMYKcmyk(4.2%, 0%, 60.2%, 7.5%)
CIE-LABlab(90.31, -21.39, 65.74)
CIE-LCHlch(90.31, 69.14, 108.03°)
OKLaboklab(90.91% -0.0638 0.1505)
OKLCHoklch(90.91% 0.163 113)
XYZxyz(63.3814, 76.9691, 22.1052)
Luminance0.7697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC5E #685EEC
analogous
#ECAF5E #E2EC5E #9BEC5E
triadic
#E2EC5E #5EE2EC #EC5EE2
tetradic
#E2EC5E #5EECAF #685EEC #EC5E9B
square
#E2EC5E #5EECAF #685EEC #EC5E9B
split-complementary
#E2EC5E #5E9BEC #AF5EEC
monochromatic
#AEBA16 #D8E627 #E2EC5E #ECF295 #F6F9CB

Accessibility & contrast

On white

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

On black

16.39
#E2EC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EC5E
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EC5E#FFFFFF#000000##000000
##E2EC5E1.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2ec5e;
/* rgb */ color: rgb(226, 236, 94);
/* oklch */ color: oklch(90.9% 0.163 113.0);
Tailwind
colors: {
  custom: {
    50: '#eef291',
    500: '#e2ec5e',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec5e;
$custom-light: #eef291;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec5e",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 94
  },
  "hsl": {
    "h": 64.225,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90906,
    "c": 0.16343,
    "h": 113
  },
  "luminance": 0.76968
}

Semantic roles & 50–950 ramp

primary
#E2EC5E
secondary
#3F35B9
accent
#0ADB19
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E2EC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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