#E2EC5F#E2EC5F

#E2EC5F 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.40:1 contrast (WCAG AA passes).

Color values

HEX#E2EC5F
RGBrgb(226, 236, 95)
HSLhsl(64, 79%, 65%)
HSVhsv(64, 60%, 93%)
CMYKcmyk(4.2%, 0%, 59.7%, 7.5%)
CIE-LABlab(90.32, -21.32, 65.34)
CIE-LCHlch(90.32, 68.73, 108.08°)
OKLaboklab(90.92% -0.0635 0.1497)
OKLCHoklch(90.92% 0.163 113)
XYZxyz(63.4266, 76.9871, 22.3430)
Luminance0.7699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC5F #695FEC
analogous
#ECAF5F #E2EC5F #9CEC5F
triadic
#E2EC5F #5FE2EC #EC5FE2
tetradic
#E2EC5F #5FECAF #695FEC #EC5F9C
square
#E2EC5F #5FECAF #695FEC #EC5F9C
split-complementary
#E2EC5F #5F9CEC #AF5FEC
monochromatic
#AFBA16 #D8E628 #E2EC5F #ECF296 #F6F9CC

Accessibility & contrast

On white

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

On black

16.40
#E2EC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EC5F
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EC5F#FFFFFF#000000##000000
##E2EC5F1.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2ec5f;
/* rgb */ color: rgb(226, 236, 95);
/* oklch */ color: oklch(90.9% 0.163 113.0);
Tailwind
colors: {
  custom: {
    50: '#eef292',
    500: '#e2ec5f',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec5f;
$custom-light: #eef292;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec5f",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 64.255,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90915,
    "c": 0.16265,
    "h": 113
  },
  "luminance": 0.76986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2EC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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