#E2EF87#E2EF87

#E2EF87 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.0% C 0.129 H 114.8°. Best body text is #000000 at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#E2EF87
RGBrgb(226, 239, 135)
HSLhsl(68, 76%, 73%)
HSVhsv(68, 44%, 94%)
CMYKcmyk(5.4%, 0%, 43.5%, 6.3%)
CIE-LABlab(91.53, -19.37, 48.67)
CIE-LCHlch(91.53, 52.39, 111.70°)
OKLaboklab(92.02% -0.0542 0.1173)
OKLCHoklch(92.02% 0.129 114.8)
XYZxyz(66.6044, 79.6518, 34.7826)
Luminance0.7965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EF87 #9487EF
analogous
#EFC887 #E2EF87 #AEEF87
triadic
#E2EF87 #87E2EF #EF87E2
tetradic
#E2EF87 #87EFC8 #9487EF #EF87AE
square
#E2EF87 #87EFC8 #9487EF #EF87AE
split-complementary
#E2EF87 #87AEEF #C887EF
monochromatic
#C6DE1E #D5E851 #E2EF87 #EFF6BD #F8FBE4

Accessibility & contrast

On white

1.24
#E2EF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.93
#E2EF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EF87
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EF87#FFFFFF#000000##000000
##E2EF871.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE67E
Deuteranopia (green-blind)
#FBE88C
Tritanopia (blue-blind)
#EDE4D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e2ef87;
/* rgb */ color: rgb(226, 239, 135);
/* oklch */ color: oklch(92.0% 0.129 114.8);
Tailwind
colors: {
  custom: {
    50: '#ecf4ac',
    500: '#e2ef87',
    950: '#000000',
  },
}
SCSS
$custom: #e2ef87;
$custom-light: #ecf4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ef87",
  "rgb": {
    "r": 226,
    "g": 239,
    "b": 135
  },
  "hsl": {
    "h": 67.5,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9202,
    "c": 0.12922,
    "h": 114.8
  },
  "luminance": 0.79651
}

Semantic roles & 50–950 ramp

primary
#E2EF87
secondary
#5F50CA
accent
#0DD926
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #E2EF87

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

Preview Lab → · Contrast checker → · Palette generator →

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