#E2EC5D#E2EC5D

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

Color values

HEX#E2EC5D
RGBrgb(226, 236, 93)
HSLhsl(64, 79%, 65%)
HSVhsv(64, 61%, 93%)
CMYKcmyk(4.2%, 0%, 60.6%, 7.5%)
CIE-LABlab(90.30, -21.46, 66.15)
CIE-LCHlch(90.30, 69.54, 107.97°)
OKLaboklab(90.9% -0.0641 0.1512)
OKLCHoklch(90.9% 0.164 113)
XYZxyz(63.3369, 76.9512, 21.8704)
Luminance0.7695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC5D #675DEC
analogous
#ECAF5D #E2EC5D #9BEC5D
triadic
#E2EC5D #5DE2EC #EC5DE2
tetradic
#E2EC5D #5DECAF #675DEC #EC5D9B
square
#E2EC5D #5DECAF #675DEC #EC5D9B
split-complementary
#E2EC5D #5D9BEC #AF5DEC
monochromatic
#ADB916 #D8E626 #E2EC5D #ECF294 #F6F9CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2EC5D#FFFFFF#000000##000000
##E2EC5D1.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)
#FCE24C
Deuteranopia (green-blind)
#FCE566
Tritanopia (blue-blind)
#F0DFCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e2ec5d;
/* rgb */ color: rgb(226, 236, 93);
/* oklch */ color: oklch(90.9% 0.164 113.0);
Tailwind
colors: {
  custom: {
    50: '#eef291',
    500: '#e2ec5d',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec5d;
$custom-light: #eef291;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec5d",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 93
  },
  "hsl": {
    "h": 64.196,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90897,
    "c": 0.16421,
    "h": 113
  },
  "luminance": 0.7695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2EC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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