#E4CD87#E4CD87

#E4CD87 is a very light, moderate yellow. Relative luminance 0.619; OKLCH L 85.2% C 0.093 H 91.9°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#E4CD87
RGBrgb(228, 205, 135)
HSLhsl(45, 63%, 71%)
HSVhsv(45, 41%, 89%)
CMYKcmyk(0%, 10.1%, 40.8%, 10.6%)
CIE-LABlab(82.86, -1.55, 37.76)
CIE-LCHlch(82.86, 37.79, 92.35°)
OKLaboklab(85.18% -0.0031 0.0925)
OKLCHoklch(85.18% 0.093 91.9)
XYZxyz(58.2008, 61.9080, 31.8007)
Luminance0.6191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD87 #879EE4
analogous
#E49E87 #E4CD87 #CCE487
triadic
#E4CD87 #87E4CD #CD87E4
tetradic
#E4CD87 #87E49E #879EE4 #E487CC
square
#E4CD87 #87E49E #879EE4 #E487CC
split-complementary
#E4CD87 #87CCE4 #9E87E4
monochromatic
#C49F2C #D9B855 #E4CD87 #EFE2B9 #F9F5E6

Accessibility & contrast

On white

1.57
#E4CD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#E4CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CD87
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CD87#FFFFFF#000000##000000
##E4CD871.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4cd87;
/* rgb */ color: rgb(228, 205, 135);
/* oklch */ color: oklch(85.2% 0.093 91.9);
Tailwind
colors: {
  custom: {
    50: '#eedcab',
    500: '#e4cd87',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd87;
$custom-light: #eedcab;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd87",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 45.161,
    "s": 63.265,
    "l": 71.176
  },
  "oklch": {
    "l": 0.8518,
    "c": 0.0926,
    "h": 91.9
  },
  "luminance": 0.61906
}

Semantic roles & 50–950 ramp

primary
#E4CD87
secondary
#536DBC
accent
#46CB1A
background
#FFFEFD
surface
#FEFBF7
border
#D6D4D0
text
#161510
muted
#858481

Preview Lab

Preview with #E4CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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