#E2EC5A#E2EC5A

#E2EC5A 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#E2EC5A
RGBrgb(226, 236, 90)
HSLhsl(64, 79%, 64%)
HSVhsv(64, 62%, 93%)
CMYKcmyk(4.2%, 0%, 61.9%, 7.5%)
CIE-LABlab(90.28, -21.66, 67.34)
CIE-LCHlch(90.28, 70.74, 107.83°)
OKLaboklab(90.87% -0.065 0.1533)
OKLCHoklch(90.87% 0.167 113)
XYZxyz(63.2066, 76.8991, 21.1843)
Luminance0.7690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC5A #645AEC
analogous
#ECAD5A #E2EC5A #99EC5A
triadic
#E2EC5A #5AE2EC #EC5AE2
tetradic
#E2EC5A #5AECAD #645AEC #EC5A99
square
#E2EC5A #5AECAD #645AEC #EC5A99
split-complementary
#E2EC5A #5A99EC #AD5AEC
monochromatic
#ACB715 #D8E623 #E2EC5A #ECF291 #F5F9C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2EC5A#FFFFFF#000000##000000
##E2EC5A1.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)
#FCE248
Deuteranopia (green-blind)
#FDE563
Tritanopia (blue-blind)
#F0DFCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e2ec5a;
/* rgb */ color: rgb(226, 236, 90);
/* oklch */ color: oklch(90.9% 0.167 113.0);
Tailwind
colors: {
  custom: {
    50: '#eef28f',
    500: '#e2ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec5a;
$custom-light: #eef28f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec5a",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 64.11,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.9087,
    "c": 0.1665,
    "h": 113
  },
  "luminance": 0.76898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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