#E2EF56#E2EF56

#E2EF56 is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.5% C 0.173 H 114.0°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#E2EF56
RGBrgb(226, 239, 86)
HSLhsl(65, 83%, 64%)
HSVhsv(65, 64%, 94%)
CMYKcmyk(5.4%, 0%, 64%, 6.3%)
CIE-LABlab(91.04, -23.34, 69.74)
CIE-LCHlch(91.04, 73.54, 108.51°)
OKLaboklab(91.47% -0.0701 0.1578)
OKLCHoklch(91.47% 0.173 114)
XYZxyz(63.9119, 78.5748, 20.6020)
Luminance0.7857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EF56 #6356EF
analogous
#EFAF56 #E2EF56 #95EF56
triadic
#E2EF56 #56E2EF #EF56E2
tetradic
#E2EF56 #56EFAF #6356EF #EF5695
square
#E2EF56 #56EFAF #6356EF #EF5695
split-complementary
#E2EF56 #5695EF #AF56EF
monochromatic
#ABB912 #D8EA1E #E2EF56 #ECF48E #F5FAC6

Accessibility & contrast

On white

1.26
#E2EF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#E2EF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EF56
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EF56#FFFFFF#000000##000000
##E2EF561.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE441
Deuteranopia (green-blind)
#FFE760
Tritanopia (blue-blind)
#F0E2D0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e2ef56;
/* rgb */ color: rgb(226, 239, 86);
/* oklch */ color: oklch(91.5% 0.173 114.0);
Tailwind
colors: {
  custom: {
    50: '#eef48d',
    500: '#e2ef56',
    950: '#000000',
  },
}
SCSS
$custom: #e2ef56;
$custom-light: #eef48d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ef56",
  "rgb": {
    "r": 226,
    "g": 239,
    "b": 86
  },
  "hsl": {
    "h": 65.098,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.91474,
    "c": 0.17266,
    "h": 114
  },
  "luminance": 0.78574
}

Semantic roles & 50–950 ramp

primary
#E2EF56
secondary
#3D31B8
accent
#06DF19
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E2EF56

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

Preview Lab → · Contrast checker → · Palette generator →

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