#E2EC56#E2EC56

#E2EC56 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 90.8% C 0.169 H 113.0°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#E2EC56
RGBrgb(226, 236, 86)
HSLhsl(64, 80%, 63%)
HSVhsv(64, 64%, 93%)
CMYKcmyk(4.2%, 0%, 63.6%, 7.5%)
CIE-LABlab(90.24, -21.91, 68.90)
CIE-LCHlch(90.24, 72.30, 107.64°)
OKLaboklab(90.84% -0.0661 0.156)
OKLCHoklch(90.84% 0.169 113)
XYZxyz(63.0409, 76.8328, 20.3116)
Luminance0.7683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC56 #6056EC
analogous
#ECAB56 #E2EC56 #97EC56
triadic
#E2EC56 #56E2EC #EC56E2
tetradic
#E2EC56 #56ECAB #6056EC #EC5697
square
#E2EC56 #56ECAB #6056EC #EC5697
split-complementary
#E2EC56 #5697EC #AB56EC
monochromatic
#A9B314 #D9E61F #E2EC56 #EBF28D #F5F8C4

Accessibility & contrast

On white

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

On black

16.37
#E2EC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EC56
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EC56#FFFFFF#000000##000000
##E2EC561.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE142
Deuteranopia (green-blind)
#FDE560
Tritanopia (blue-blind)
#F0DFCD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e2ec56;
/* rgb */ color: rgb(226, 236, 86);
/* oklch */ color: oklch(90.8% 0.169 113.0);
Tailwind
colors: {
  custom: {
    50: '#eef28d',
    500: '#e2ec56',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec56;
$custom-light: #eef28d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec56",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 86
  },
  "hsl": {
    "h": 64,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.90836,
    "c": 0.16946,
    "h": 113
  },
  "luminance": 0.76832
}

Semantic roles & 50–950 ramp

primary
#E2EC56
secondary
#3B33B3
accent
#09DC17
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E2EC56

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

Preview Lab → · Contrast checker → · Palette generator →

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