#E2E186#E2E186

#E2E186 is a very light, moderate yellow. Relative luminance 0.717; OKLCH L 89.1% C 0.114 H 107.9°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#E2E186
RGBrgb(226, 225, 134)
HSLhsl(59, 61%, 71%)
HSVhsv(59, 41%, 89%)
CMYKcmyk(0%, 0.4%, 40.7%, 11.4%)
CIE-LABlab(87.84, -12.59, 44.56)
CIE-LCHlch(87.84, 46.31, 105.78°)
OKLaboklab(89.08% -0.035 0.108)
OKLCHoklch(89.08% 0.114 107.9)
XYZxyz(62.5933, 71.7418, 33.0999)
Luminance0.7174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E186 #8687E2
analogous
#E2B386 #E2E186 #B5E286
triadic
#E2E186 #86E2E1 #E186E2
tetradic
#E2E186 #86E2B3 #8687E2 #E286B5
square
#E2E186 #86E2B3 #8687E2 #E286B5
split-complementary
#E2E186 #86B5E2 #B386E2
monochromatic
#C0BE2E #D6D555 #E2E186 #EEEDB7 #F9F9E6

Accessibility & contrast

On white

1.37
#E2E186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#E2E186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E186
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E186#FFFFFF#000000##000000
##E2E1861.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA7F
Deuteranopia (green-blind)
#F0DE8A
Tritanopia (blue-blind)
#EED7CB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2e186;
/* rgb */ color: rgb(226, 225, 134);
/* oklch */ color: oklch(89.1% 0.114 107.9);
Tailwind
colors: {
  custom: {
    50: '#eceaaa',
    500: '#e2e186',
    950: '#000000',
  },
}
SCSS
$custom: #e2e186;
$custom-light: #eceaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e186",
  "rgb": {
    "r": 226,
    "g": 225,
    "b": 134
  },
  "hsl": {
    "h": 59.348,
    "s": 61.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89081,
    "c": 0.11351,
    "h": 107.9
  },
  "luminance": 0.7174
}

Semantic roles & 50–950 ramp

primary
#E2E186
secondary
#5253BA
accent
#1EC91C
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E2E186

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

Preview Lab → · Contrast checker → · Palette generator →

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