#E2E387#E2E387

#E2E387 is a very light, moderate yellow. Relative luminance 0.729; OKLCH L 89.5% C 0.115 H 109.0°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#E2E387
RGBrgb(226, 227, 135)
HSLhsl(61, 62%, 71%)
HSVhsv(61, 41%, 89%)
CMYKcmyk(0.4%, 0%, 40.5%, 11%)
CIE-LABlab(88.38, -13.48, 44.75)
CIE-LCHlch(88.38, 46.73, 106.77°)
OKLaboklab(89.51% -0.0374 0.1085)
OKLCHoklch(89.51% 0.115 109)
XYZxyz(63.2072, 72.8575, 33.6502)
Luminance0.7286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E387 #8887E3
analogous
#E3B687 #E2E387 #B4E387
triadic
#E2E387 #87E2E3 #E387E2
tetradic
#E2E387 #87E3B6 #8887E3 #E387B4
square
#E2E387 #87E3B6 #8887E3 #E387B4
split-complementary
#E2E387 #87B4E3 #B687E3
monochromatic
#C1C22D #D6D755 #E2E387 #EEEFB9 #F9F9E6

Accessibility & contrast

On white

1.35
#E2E387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.57
#E2E387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E387
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E387#FFFFFF#000000##000000
##E2E3871.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC80
Deuteranopia (green-blind)
#F2DF8B
Tritanopia (blue-blind)
#EED9CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e2e387;
/* rgb */ color: rgb(226, 227, 135);
/* oklch */ color: oklch(89.5% 0.115 109.0);
Tailwind
colors: {
  custom: {
    50: '#ecebab',
    500: '#e2e387',
    950: '#000000',
  },
}
SCSS
$custom: #e2e387;
$custom-light: #ecebab;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e387",
  "rgb": {
    "r": 226,
    "g": 227,
    "b": 135
  },
  "hsl": {
    "h": 60.652,
    "s": 62.162,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89511,
    "c": 0.11474,
    "h": 109
  },
  "luminance": 0.72856
}

Semantic roles & 50–950 ramp

primary
#E2E387
secondary
#5453BB
accent
#1CCA1D
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E2E387

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

Preview Lab → · Contrast checker → · Palette generator →

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