#E2D586#E2D586

#E2D586 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.6% C 0.101 H 100.1°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#E2D586
RGBrgb(226, 213, 134)
HSLhsl(52, 61%, 71%)
HSVhsv(52, 41%, 89%)
CMYKcmyk(0%, 5.8%, 40.7%, 11.4%)
CIE-LABlab(84.73, -6.55, 40.62)
CIE-LCHlch(84.73, 41.15, 99.16°)
OKLaboklab(86.61% -0.0176 0.0991)
OKLCHoklch(86.61% 0.101 100.1)
XYZxyz(59.4626, 65.4802, 32.0563)
Luminance0.6548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D586 #8693E2
analogous
#E2A786 #E2D586 #C1E286
triadic
#E2D586 #86E2D5 #D586E2
tetradic
#E2D586 #86E2A7 #8693E2 #E286C1
square
#E2D586 #86E2A7 #8693E2 #E286C1
split-complementary
#E2D586 #86C1E2 #A786E2
monochromatic
#C0AB2E #D6C455 #E2D586 #EEE6B7 #F9F6E6

Accessibility & contrast

On white

1.49
#E2D586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#E2D586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D586
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D586#FFFFFF#000000##000000
##E2D5861.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D080
Deuteranopia (green-blind)
#E7D689
Tritanopia (blue-blind)
#EFCBC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e2d586;
/* rgb */ color: rgb(226, 213, 134);
/* oklch */ color: oklch(86.6% 0.101 100.1);
Tailwind
colors: {
  custom: {
    50: '#ece1aa',
    500: '#e2d586',
    950: '#000000',
  },
}
SCSS
$custom: #e2d586;
$custom-light: #ece1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d586",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 134
  },
  "hsl": {
    "h": 51.522,
    "s": 61.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.8661,
    "c": 0.10061,
    "h": 100.1
  },
  "luminance": 0.65478
}

Semantic roles & 50–950 ramp

primary
#E2D586
secondary
#5261BA
accent
#35C91C
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2D586

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

Preview Lab → · Contrast checker → · Palette generator →

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