#E2E386#E2E386

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

Color values

HEX#E2E386
RGBrgb(226, 227, 134)
HSLhsl(61, 62%, 71%)
HSVhsv(61, 41%, 89%)
CMYKcmyk(0.4%, 0%, 41%, 11%)
CIE-LABlab(88.37, -13.59, 45.22)
CIE-LCHlch(88.37, 47.22, 106.72°)
OKLaboklab(89.5% -0.0378 0.1095)
OKLCHoklch(89.5% 0.116 109.1)
XYZxyz(63.1372, 72.8294, 33.2812)
Luminance0.7283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E386 #8786E3
analogous
#E3B586 #E2E386 #B3E386
triadic
#E2E386 #86E2E3 #E386E2
tetradic
#E2E386 #86E3B5 #8786E3 #E386B3
square
#E2E386 #86E3B5 #8786E3 #E386B3
split-complementary
#E2E386 #86B3E3 #B586E3
monochromatic
#C0C22D #D6D754 #E2E386 #EEEFB8 #F9F9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2E386#FFFFFF#000000##000000
##E2E3861.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)
#F1DC7F
Deuteranopia (green-blind)
#F2DF8A
Tritanopia (blue-blind)
#EED9CC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e2e386;
/* rgb */ color: rgb(226, 227, 134);
/* oklch */ color: oklch(89.5% 0.116 109.1);
Tailwind
colors: {
  custom: {
    50: '#ecebab',
    500: '#e2e386',
    950: '#000000',
  },
}
SCSS
$custom: #e2e386;
$custom-light: #ecebab;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e386",
  "rgb": {
    "r": 226,
    "g": 227,
    "b": 134
  },
  "hsl": {
    "h": 60.645,
    "s": 62.416,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89496,
    "c": 0.11582,
    "h": 109.1
  },
  "luminance": 0.72828
}

Semantic roles & 50–950 ramp

primary
#E2E386
secondary
#5352BB
accent
#1BCA1D
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E2E386

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

Preview Lab → · Contrast checker → · Palette generator →

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