#E2E586#E2E586

#E2E586 is a very light, moderate yellow. Relative luminance 0.739; OKLCH L 89.9% C 0.118 H 110.1°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#E2E586
RGBrgb(226, 229, 134)
HSLhsl(62, 65%, 71%)
HSVhsv(62, 41%, 90%)
CMYKcmyk(1.3%, 0%, 41.5%, 10.2%)
CIE-LABlab(88.89, -14.58, 45.87)
CIE-LCHlch(88.89, 48.13, 107.63°)
OKLaboklab(89.91% -0.0407 0.1109)
OKLCHoklch(89.91% 0.118 110.1)
XYZxyz(63.6873, 73.9298, 33.4646)
Luminance0.7393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E586 #8986E5
analogous
#E5B886 #E2E586 #B2E586
triadic
#E2E586 #86E2E5 #E586E2
tetradic
#E2E586 #86E5B8 #8986E5 #E586B2
square
#E2E586 #86E5B8 #8986E5 #E586B2
split-complementary
#E2E586 #86B2E5 #B886E5
monochromatic
#C1C62B #D6DA54 #E2E586 #EEF0B8 #F9FAE6

Accessibility & contrast

On white

1.33
#E2E586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.79
#E2E586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E586
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E586#FFFFFF#000000##000000
##E2E5861.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DE7E
Deuteranopia (green-blind)
#F3E18A
Tritanopia (blue-blind)
#EEDBCE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e2e586;
/* rgb */ color: rgb(226, 229, 134);
/* oklch */ color: oklch(89.9% 0.118 110.1);
Tailwind
colors: {
  custom: {
    50: '#ecedab',
    500: '#e2e586',
    950: '#000000',
  },
}
SCSS
$custom: #e2e586;
$custom-light: #ecedab;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e586",
  "rgb": {
    "r": 226,
    "g": 229,
    "b": 134
  },
  "hsl": {
    "h": 61.895,
    "s": 64.626,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89912,
    "c": 0.11816,
    "h": 110.1
  },
  "luminance": 0.73929
}

Semantic roles & 50–950 ramp

primary
#E2E586
secondary
#5552BE
accent
#19CC1F
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E2E586

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

Preview Lab → · Contrast checker → · Palette generator →

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