#E2DCA2#E2DCA2

#E2DCA2 is a very light, moderate yellow. Relative luminance 0.700; OKLCH L 88.5% C 0.075 H 102.8°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#E2DCA2
RGBrgb(226, 220, 162)
HSLhsl(54, 52%, 76%)
HSVhsv(54, 28%, 89%)
CMYKcmyk(0%, 2.7%, 28.3%, 11.4%)
CIE-LABlab(86.98, -6.83, 29.31)
CIE-LCHlch(86.98, 30.10, 103.11°)
OKLaboklab(88.54% -0.0168 0.0736)
OKLCHoklch(88.54% 0.076 102.8)
XYZxyz(63.4791, 69.9650, 44.3360)
Luminance0.6996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DCA2 #A2A8E2
analogous
#E2BCA2 #E2DCA2 #C8E2A2
triadic
#E2DCA2 #A2E2DC #DCA2E2
tetradic
#E2DCA2 #A2E2BC #A2A8E2 #E2A2C8
square
#E2DCA2 #A2E2BC #A2A8E2 #E2A2C8
split-complementary
#E2DCA2 #A2C8E2 #BCA2E2
monochromatic
#C5B945 #D3CA73 #E2DCA2 #F1EED1 #F8F6E8

Accessibility & contrast

On white

1.40
#E2DCA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.99
#E2DCA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DCA2
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DCA2#FFFFFF#000000##000000
##E2DCA21.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D89E
Deuteranopia (green-blind)
#E9DBA4
Tritanopia (blue-blind)
#ECD4CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2dca2;
/* rgb */ color: rgb(226, 220, 162);
/* oklch */ color: oklch(88.5% 0.075 102.8);
Tailwind
colors: {
  custom: {
    50: '#ebe6be',
    500: '#e2dca2',
    950: '#000000',
  },
}
SCSS
$custom: #e2dca2;
$custom-light: #ebe6be;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dca2",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 162
  },
  "hsl": {
    "h": 54.375,
    "s": 52.459,
    "l": 76.078
  },
  "oklch": {
    "l": 0.88536,
    "c": 0.0755,
    "h": 102.8
  },
  "luminance": 0.69964
}

Semantic roles & 50–950 ramp

primary
#E2DCA2
secondary
#6D74BB
accent
#34C026
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161612
muted
#848482

Preview Lab

Preview with #E2DCA2

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

Preview Lab → · Contrast checker → · Palette generator →

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