#E2DC8A#E2DC8A

#E2DC8A is a very light, moderate yellow. Relative luminance 0.692; OKLCH L 88.1% C 0.104 H 104.7°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#E2DC8A
RGBrgb(226, 220, 138)
HSLhsl(56, 60%, 71%)
HSVhsv(56, 39%, 89%)
CMYKcmyk(0%, 2.7%, 38.9%, 11.4%)
CIE-LABlab(86.60, -9.67, 41.00)
CIE-LCHlch(86.60, 42.13, 103.26°)
OKLaboklab(88.11% -0.0263 0.1001)
OKLCHoklch(88.11% 0.104 104.7)
XYZxyz(61.5457, 69.1916, 34.1531)
Luminance0.6919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC8A #8A90E2
analogous
#E2B08A #E2DC8A #BCE28A
triadic
#E2DC8A #8AE2DC #DC8AE2
tetradic
#E2DC8A #8AE2B0 #8A90E2 #E28ABC
square
#E2DC8A #8AE2B0 #8A90E2 #E28ABC
split-complementary
#E2DC8A #8ABCE2 #B08AE2
monochromatic
#C2B830 #D6CD59 #E2DC8A #EEEBBB #F9F8E6

Accessibility & contrast

On white

1.42
#E2DC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#E2DC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DC8A
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DC8A#FFFFFF#000000##000000
##E2DC8A1.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D684
Deuteranopia (green-blind)
#ECDB8D
Tritanopia (blue-blind)
#EED2C8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2dc8a;
/* rgb */ color: rgb(226, 220, 138);
/* oklch */ color: oklch(88.1% 0.104 104.7);
Tailwind
colors: {
  custom: {
    50: '#ece6ad',
    500: '#e2dc8a',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc8a;
$custom-light: #ece6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc8a",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 138
  },
  "hsl": {
    "h": 55.909,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.8811,
    "c": 0.10352,
    "h": 104.7
  },
  "luminance": 0.6919
}

Semantic roles & 50–950 ramp

primary
#E2DC8A
secondary
#565DBA
accent
#29C81E
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2DC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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