#DCC387

#dcc387 ≈ Ecru

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#dcc387 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 76.47% green and 52.94% blue; printed in CMYK it uses 0% cyan, 11.36% magenta, 38.64% yellow and 13.73% black. Its hue angle is 42.35°, with 54.84% saturation and 69.61% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 12.2:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 5.78.

Description generated from the measured properties of this color.

Conversions of #dcc387 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc99
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.56

Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.2:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #cfc4b0 ≈ 0.001% of males
Protanopia #d0c183 ≈ 1.01% of males
Deuteranopia #d7c889 ≈ 1.27% of males
Tritanopia #e9b9b4 ≈ 0.0001% of males
Protanomaly #d5c284 ≈ 1.08% of males
Deuteranomaly #d9c688 ≈ 4.63% of males
Tritanomaly #e4bda4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcc387 {
  color: #dcc387;
}
Background
.bg-dcc387 {
  background-color: #dcc387;
  color: #000000;
}
Border
.border-dcc387 {
  border: 2px solid #dcc387;
}
CSS variables
:root {
  --color-primary: #dcc387;
  --color-primary-rgb: 220 195 135;
  --color-primary-hsl: 42 55% 70%;
}
Gradient
.gradient-dcc387 {
  background: linear-gradient(135deg, #dcc387, #cbdc87);
}
Colored shadow
.shadow-dcc387 {
  box-shadow: 0 8px 24px rgb(220 195 135 / 0.35);
}

Ecru
#dcc387  rgb(220, 195, 135)  hsl(42, 55%, 70%)  Ecru
#87a0dc  rgb(135, 160, 220)  hsl(222, 55%, 70%)  Cornflower Blue
#87dcc3  rgb(135, 220, 195)  hsl(162, 55%, 70%)  Seafoam Green
#c387dc  rgb(195, 135, 220)  hsl(282, 55%, 70%)  Floral Lavender