#E8DCA2#E8DCA2

#E8DCA2 is a very light, moderate yellow. Relative luminance 0.710; OKLCH L 89.0% C 0.076 H 97.8°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#E8DCA2
RGBrgb(232, 220, 162)
HSLhsl(50, 60%, 77%)
HSVhsv(50, 30%, 91%)
CMYKcmyk(0%, 5.2%, 30.2%, 9%)
CIE-LABlab(87.46, -4.55, 30.04)
CIE-LCHlch(87.46, 30.39, 98.62°)
OKLaboklab(89.03% -0.0103 0.0753)
OKLCHoklch(89.03% 0.076 97.8)
XYZxyz(65.3941, 70.9524, 44.4258)
Luminance0.7095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DCA2 #A2AEE8
analogous
#E8B9A2 #E8DCA2 #D1E8A2
triadic
#E8DCA2 #A2E8DC #DCA2E8
tetradic
#E8DCA2 #A2E8B9 #A2AEE8 #E8A2D1
square
#E8DCA2 #A2E8B9 #A2AEE8 #E8A2D1
split-complementary
#E8DCA2 #A2D1E8 #B9A2E8
monochromatic
#D0B740 #DCCA71 #E8DCA2 #F4EED3 #F9F6E6

Accessibility & contrast

On white

1.38
#E8DCA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#E8DCA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DCA2
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DCA2#FFFFFF#000000##000000
##E8DCA21.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D99E
Deuteranopia (green-blind)
#EBDDA4
Tritanopia (blue-blind)
#F3D4CD
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e8dca2;
/* rgb */ color: rgb(232, 220, 162);
/* oklch */ color: oklch(89.0% 0.076 97.8);
Tailwind
colors: {
  custom: {
    50: '#f0e6be',
    500: '#e8dca2',
    950: '#000000',
  },
}
SCSS
$custom: #e8dca2;
$custom-light: #f0e6be;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dca2",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 162
  },
  "hsl": {
    "h": 49.714,
    "s": 60.345,
    "l": 77.255
  },
  "oklch": {
    "l": 0.89034,
    "c": 0.07605,
    "h": 97.8
  },
  "luminance": 0.70951
}

Semantic roles & 50–950 ramp

primary
#E8DCA2
secondary
#6B7AC3
accent
#3BC81D
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171612
muted
#858482

Preview Lab

Preview with #E8DCA2

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

Preview Lab → · Contrast checker → · Palette generator →

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