#E2DCA7#E2DCA7

#E2DCA7 is a very light, moderate yellow. Relative luminance 0.701; OKLCH L 88.6% C 0.069 H 102.3°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#E2DCA7
RGBrgb(226, 220, 167)
HSLhsl(54, 50%, 77%)
HSVhsv(54, 26%, 89%)
CMYKcmyk(0%, 2.7%, 26.1%, 11.4%)
CIE-LABlab(87.07, -6.17, 26.85)
CIE-LCHlch(87.07, 27.55, 102.94°)
OKLaboklab(88.64% -0.0148 0.0678)
OKLCHoklch(88.64% 0.069 102.3)
XYZxyz(63.9324, 70.1463, 46.7234)
Luminance0.7015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DCA7 #A7ADE2
analogous
#E2BFA7 #E2DCA7 #CBE2A7
triadic
#E2DCA7 #A7E2DC #DCA7E2
tetradic
#E2DCA7 #A7E2BF #A7ADE2 #E2A7CB
square
#E2DCA7 #A7E2BF #A7ADE2 #E2A7CB
split-complementary
#E2DCA7 #A7CBE2 #BFA7E2
monochromatic
#C4B74B #D3CA79 #E2DCA7 #F1EED5 #F7F6E8

Accessibility & contrast

On white

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

On black

15.03
#E2DCA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DCA7
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DCA7#FFFFFF#000000##000000
##E2DCA71.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D8A4
Deuteranopia (green-blind)
#E8DCA9
Tritanopia (blue-blind)
#EBD5CE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2dca7;
/* rgb */ color: rgb(226, 220, 167);
/* oklch */ color: oklch(88.6% 0.069 102.3);
Tailwind
colors: {
  custom: {
    50: '#ebe6c1',
    500: '#e2dca7',
    950: '#000000',
  },
}
SCSS
$custom: #e2dca7;
$custom-light: #ebe6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dca7",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 167
  },
  "hsl": {
    "h": 53.898,
    "s": 50.427,
    "l": 77.059
  },
  "oklch": {
    "l": 0.88635,
    "c": 0.06939,
    "h": 102.3
  },
  "luminance": 0.70145
}

Semantic roles & 50–950 ramp

primary
#E2DCA7
secondary
#7279BB
accent
#37BE28
background
#FEFEFD
surface
#FDFCF9
border
#D5D5D2
text
#161612
muted
#848482

Preview Lab

Preview with #E2DCA7

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

Preview Lab → · Contrast checker → · Palette generator →

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