#E7DCA2#E7DCA2

#E7DCA2 is a very light, moderate yellow. Relative luminance 0.708; OKLCH L 88.9% C 0.076 H 98.7°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#E7DCA2
RGBrgb(231, 220, 162)
HSLhsl(50, 59%, 77%)
HSVhsv(50, 30%, 91%)
CMYKcmyk(0%, 4.8%, 29.9%, 9.4%)
CIE-LABlab(87.38, -4.93, 29.92)
CIE-LCHlch(87.38, 30.32, 99.36°)
OKLaboklab(88.95% -0.0114 0.0751)
OKLCHoklch(88.95% 0.076 98.7)
XYZxyz(65.0703, 70.7855, 44.4106)
Luminance0.7078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DCA2 #A2ADE7
analogous
#E7BAA2 #E7DCA2 #D0E7A2
triadic
#E7DCA2 #A2E7DC #DCA2E7
tetradic
#E7DCA2 #A2E7BA #A2ADE7 #E7A2D0
square
#E7DCA2 #A2E7BA #A2ADE7 #E7A2D0
split-complementary
#E7DCA2 #A2D0E7 #BAA2E7
monochromatic
#CEB741 #DACA71 #E7DCA2 #F4EED3 #F9F6E7

Accessibility & contrast

On white

1.39
#E7DCA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.16
#E7DCA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DCA2
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DCA2#FFFFFF#000000##000000
##E7DCA21.001.3915.1615.16
#FFFFFF1.391.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7dca2;
/* rgb */ color: rgb(231, 220, 162);
/* oklch */ color: oklch(88.9% 0.076 98.7);
Tailwind
colors: {
  custom: {
    50: '#efe6be',
    500: '#e7dca2',
    950: '#000000',
  },
}
SCSS
$custom: #e7dca2;
$custom-light: #efe6be;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dca2",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 162
  },
  "hsl": {
    "h": 50.435,
    "s": 58.974,
    "l": 77.059
  },
  "oklch": {
    "l": 0.8895,
    "c": 0.07592,
    "h": 98.7
  },
  "luminance": 0.70784
}

Semantic roles & 50–950 ramp

primary
#E7DCA2
secondary
#6C79C2
accent
#3AC71F
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161612
muted
#858482

Preview Lab

Preview with #E7DCA2

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

Preview Lab → · Contrast checker → · Palette generator →

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