#E2ED87#E2ED87

#E2ED87 is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.6% C 0.127 H 114.0°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#E2ED87
RGBrgb(226, 237, 135)
HSLhsl(66, 74%, 73%)
HSVhsv(66, 43%, 93%)
CMYKcmyk(4.6%, 0%, 43%, 7.1%)
CIE-LABlab(91.00, -18.40, 48.02)
CIE-LCHlch(91.00, 51.43, 110.97°)
OKLaboklab(91.6% -0.0515 0.1158)
OKLCHoklch(91.6% 0.127 114)
XYZxyz(66.0221, 78.4873, 34.5885)
Luminance0.7849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2ED87 #9287ED
analogous
#EDC587 #E2ED87 #AFED87
triadic
#E2ED87 #87E2ED #ED87E2
tetradic
#E2ED87 #87EDC5 #9287ED #ED87AF
square
#E2ED87 #87EDC5 #9287ED #ED87AF
split-complementary
#E2ED87 #87AFED #C587ED
monochromatic
#C5D921 #D5E552 #E2ED87 #EFF5BC #F9FBE4

Accessibility & contrast

On white

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

On black

16.70
#E2ED87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2ED87
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2ED87#FFFFFF#000000##000000
##E2ED871.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE47F
Deuteranopia (green-blind)
#FAE68C
Tritanopia (blue-blind)
#EDE3D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e2ed87;
/* rgb */ color: rgb(226, 237, 135);
/* oklch */ color: oklch(91.6% 0.127 114.0);
Tailwind
colors: {
  custom: {
    50: '#ecf2ac',
    500: '#e2ed87',
    950: '#000000',
  },
}
SCSS
$custom: #e2ed87;
$custom-light: #ecf2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ed87",
  "rgb": {
    "r": 226,
    "g": 237,
    "b": 135
  },
  "hsl": {
    "h": 66.471,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.916,
    "c": 0.12675,
    "h": 114
  },
  "luminance": 0.78486
}

Semantic roles & 50–950 ramp

primary
#E2ED87
secondary
#5D51C8
accent
#0FD625
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #E2ED87

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

Preview Lab → · Contrast checker → · Palette generator →

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