#E2CD87#E2CD87

#E2CD87 is a very light, moderate yellow. Relative luminance 0.616; OKLCH L 85.0% C 0.092 H 93.3°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#E2CD87
RGBrgb(226, 205, 135)
HSLhsl(46, 61%, 71%)
HSVhsv(46, 40%, 89%)
CMYKcmyk(0%, 9.3%, 40.3%, 11.4%)
CIE-LABlab(82.69, -2.35, 37.50)
CIE-LCHlch(82.69, 37.58, 93.58°)
OKLaboklab(85% -0.0054 0.092)
OKLCHoklch(85% 0.092 93.3)
XYZxyz(57.5698, 61.5827, 31.7711)
Luminance0.6158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD87 #879CE2
analogous
#E29F87 #E2CD87 #C9E287
triadic
#E2CD87 #87E2CD #CD87E2
tetradic
#E2CD87 #87E29F #879CE2 #E287C9
square
#E2CD87 #87E29F #879CE2 #E287C9
split-complementary
#E2CD87 #87C9E2 #9F87E2
monochromatic
#C09F2E #D6B856 #E2CD87 #EEE2B8 #F9F5E6

Accessibility & contrast

On white

1.58
#E2CD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#E2CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD87
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD87#FFFFFF#000000##000000
##E2CD871.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCA82
Deuteranopia (green-blind)
#E1D189
Tritanopia (blue-blind)
#EFC3BB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cd87;
/* rgb */ color: rgb(226, 205, 135);
/* oklch */ color: oklch(85.0% 0.092 93.3);
Tailwind
colors: {
  custom: {
    50: '#ecdcab',
    500: '#e2cd87',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd87;
$custom-light: #ecdcab;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd87",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 46.154,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85002,
    "c": 0.09213,
    "h": 93.3
  },
  "luminance": 0.61581
}

Semantic roles & 50–950 ramp

primary
#E2CD87
secondary
#536BBA
accent
#44C91D
background
#FFFEFD
surface
#FEFBF7
border
#D6D4D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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