#E2DD86#E2DD86

#E2DD86 is a very light, moderate yellow. Relative luminance 0.696; OKLCH L 88.3% C 0.109 H 105.6°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#E2DD86
RGBrgb(226, 221, 134)
HSLhsl(57, 61%, 71%)
HSVhsv(57, 41%, 89%)
CMYKcmyk(0%, 2.2%, 40.7%, 11.4%)
CIE-LABlab(86.80, -10.59, 43.25)
CIE-LCHlch(86.80, 44.53, 103.76°)
OKLaboklab(88.25% -0.0292 0.105)
OKLCHoklch(88.25% 0.109 105.6)
XYZxyz(61.5246, 69.6044, 32.7436)
Luminance0.6960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD86 #868BE2
analogous
#E2AF86 #E2DD86 #B9E286
triadic
#E2DD86 #86E2DD #DD86E2
tetradic
#E2DD86 #86E2AF #868BE2 #E286B9
square
#E2DD86 #86E2AF #868BE2 #E286B9
split-complementary
#E2DD86 #86B9E2 #AF86E2
monochromatic
#C0B82E #D6CF55 #E2DD86 #EEEBB7 #F9F8E6

Accessibility & contrast

On white

1.41
#E2DD86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#E2DD86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD86
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD86#FFFFFF#000000##000000
##E2DD861.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD77F
Deuteranopia (green-blind)
#EDDB8A
Tritanopia (blue-blind)
#EED3C8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2dd86;
/* rgb */ color: rgb(226, 221, 134);
/* oklch */ color: oklch(88.3% 0.109 105.6);
Tailwind
colors: {
  custom: {
    50: '#ece7aa',
    500: '#e2dd86',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd86;
$custom-light: #ece7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd86",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 134
  },
  "hsl": {
    "h": 56.739,
    "s": 61.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88253,
    "c": 0.10903,
    "h": 105.6
  },
  "luminance": 0.69603
}

Semantic roles & 50–950 ramp

primary
#E2DD86
secondary
#5258BA
accent
#26C91C
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E2DD86

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

Preview Lab → · Contrast checker → · Palette generator →

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