#E2EC5B#E2EC5B

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

Color values

HEX#E2EC5B
RGBrgb(226, 236, 91)
HSLhsl(64, 79%, 64%)
HSVhsv(64, 61%, 93%)
CMYKcmyk(4.2%, 0%, 61.4%, 7.5%)
CIE-LABlab(90.28, -21.59, 66.95)
CIE-LCHlch(90.28, 70.34, 107.88°)
OKLaboklab(90.88% -0.0647 0.1526)
OKLCHoklch(90.88% 0.166 113)
XYZxyz(63.2494, 76.9163, 21.4100)
Luminance0.7692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC5B #655BEC
analogous
#ECAE5B #E2EC5B #9AEC5B
triadic
#E2EC5B #5BE2EC #EC5BE2
tetradic
#E2EC5B #5BECAE #655BEC #EC5B9A
square
#E2EC5B #5BECAE #655BEC #EC5B9A
split-complementary
#E2EC5B #5B9AEC #AE5BEC
monochromatic
#ACB715 #D8E624 #E2EC5B #ECF292 #F5F9C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2EC5B#FFFFFF#000000##000000
##E2EC5B1.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)
#FCE249
Deuteranopia (green-blind)
#FCE564
Tritanopia (blue-blind)
#F0DFCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e2ec5b;
/* rgb */ color: rgb(226, 236, 91);
/* oklch */ color: oklch(90.9% 0.166 113.0);
Tailwind
colors: {
  custom: {
    50: '#eef28f',
    500: '#e2ec5b',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec5b;
$custom-light: #eef28f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec5b",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 64.138,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90879,
    "c": 0.16575,
    "h": 113
  },
  "luminance": 0.76915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2EC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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