#C5B987

#c5b987 ≈ Ecru

  • yellow
  • Lightness: high
  • Saturation: muted
  • Warm

#c5b987 is a color from the yellow family, with high lightness and muted saturation. In the RGB model it is made of 77.25% red, 72.55% green and 52.94% blue; printed in CMYK it uses 0% cyan, 6.09% magenta, 31.47% yellow and 22.75% black. Its hue angle is 48.39°, with 34.83% saturation and 65.1% 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 10.66:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 2.2.

Description generated from the measured properties of this color.

Conversions of #c5b987 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.4832

Readable text 1.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b9b9b9 ≈ 0.003% of males
Achromatomaly #beb9a7 ≈ 0.001% of males
Protanopia #c3b684 ≈ 1.01% of males
Deuteranopia #c6bb89 ≈ 1.27% of males
Tritanopia #ceb2ac ≈ 0.0001% of males
Protanomaly #c4b785 ≈ 1.08% of males
Deuteranomaly #c6ba88 ≈ 4.63% of males
Tritanomaly #cbb59e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c5b987 {
  color: #c5b987;
}
Background
.bg-c5b987 {
  background-color: #c5b987;
  color: #000000;
}
Border
.border-c5b987 {
  border: 2px solid #c5b987;
}
CSS variables
:root {
  --color-primary: #c5b987;
  --color-primary-rgb: 197 185 135;
  --color-primary-hsl: 48 35% 65%;
}
Gradient
.gradient-c5b987 {
  background: linear-gradient(135deg, #c5b987, #b2c587);
}
Colored shadow
.shadow-c5b987 {
  box-shadow: 0 8px 24px rgb(197 185 135 / 0.35);
}

Ecru
#c5b987  rgb(197, 185, 135)  hsl(48, 35%, 65%)  Ecru
#8793c5  rgb(135, 147, 197)  hsl(228, 35%, 65%)  Cool Gray
#87c5b9  rgb(135, 197, 185)  hsl(168, 35%, 65%)  Medium Turquoise
#b987c5  rgb(185, 135, 197)  hsl(288, 35%, 65%)  Floral Lavender