#E2D786#E2D786

#E2D786 is a very light, moderate yellow. Relative luminance 0.665; OKLCH L 87.0% C 0.103 H 101.5°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#E2D786
RGBrgb(226, 215, 134)
HSLhsl(53, 61%, 71%)
HSVhsv(53, 41%, 89%)
CMYKcmyk(0%, 4.9%, 40.7%, 11.4%)
CIE-LABlab(85.25, -7.57, 41.28)
CIE-LCHlch(85.25, 41.97, 100.39°)
OKLaboklab(87.02% -0.0205 0.1006)
OKLCHoklch(87.02% 0.103 101.5)
XYZxyz(59.9687, 66.4926, 32.2250)
Luminance0.6649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D786 #8691E2
analogous
#E2A986 #E2D786 #BFE286
triadic
#E2D786 #86E2D7 #D786E2
tetradic
#E2D786 #86E2A9 #8691E2 #E286BF
square
#E2D786 #86E2A9 #8691E2 #E286BF
split-complementary
#E2D786 #86BFE2 #A986E2
monochromatic
#C0AE2E #D6C755 #E2D786 #EEE7B7 #F9F7E6

Accessibility & contrast

On white

1.47
#E2D786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#E2D786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D786
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D786#FFFFFF#000000##000000
##E2D7861.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D280
Deuteranopia (green-blind)
#E8D789
Tritanopia (blue-blind)
#EFCDC3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d786;
/* rgb */ color: rgb(226, 215, 134);
/* oklch */ color: oklch(87.0% 0.103 101.5);
Tailwind
colors: {
  custom: {
    50: '#ece3aa',
    500: '#e2d786',
    950: '#000000',
  },
}
SCSS
$custom: #e2d786;
$custom-light: #ece3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d786",
  "rgb": {
    "r": 226,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 52.826,
    "s": 61.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87019,
    "c": 0.10264,
    "h": 101.5
  },
  "luminance": 0.66491
}

Semantic roles & 50–950 ramp

primary
#E2D786
secondary
#525FBA
accent
#31C91C
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2D786

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

Preview Lab → · Contrast checker → · Palette generator →

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