#C7BA7E

#c7ba7e ≈ Ecru

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

#c7ba7e is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 78.04% red, 72.94% green and 49.41% blue; printed in CMYK it uses 0% cyan, 6.53% magenta, 36.68% yellow and 21.96% black. Its hue angle is 49.32°, with 39.46% saturation and 63.73% 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.75:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 3.17.

Description generated from the measured properties of this color.

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

Readable text 1.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.75:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b9b9b9 ≈ 0.003% of males
Achromatomaly #bfbaa5 ≈ 0.001% of males
Protanopia #c5b77a ≈ 1.01% of males
Deuteranopia #c9bc80 ≈ 1.27% of males
Tritanopia #d2b2ab ≈ 0.0001% of males
Protanomaly #c6b87b ≈ 1.08% of males
Deuteranomaly #c8bb7f ≈ 4.63% of males
Tritanomaly #cdb59b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c7ba7e {
  color: #c7ba7e;
}
Background
.bg-c7ba7e {
  background-color: #c7ba7e;
  color: #000000;
}
Border
.border-c7ba7e {
  border: 2px solid #c7ba7e;
}
CSS variables
:root {
  --color-primary: #c7ba7e;
  --color-primary-rgb: 199 186 126;
  --color-primary-hsl: 49 39% 64%;
}
Gradient
.gradient-c7ba7e {
  background: linear-gradient(135deg, #c7ba7e, #b0c77e);
}
Colored shadow
.shadow-c7ba7e {
  box-shadow: 0 8px 24px rgb(199 186 126 / 0.35);
}

Ecru
#c7ba7e  rgb(199, 186, 126)  hsl(49, 39%, 64%)  Ecru
#7e8bc7  rgb(126, 139, 199)  hsl(229, 39%, 64%)  Glaucous
#7ec7ba  rgb(126, 199, 186)  hsl(169, 39%, 64%)  Medium Turquoise
#ba7ec7  rgb(186, 126, 199)  hsl(289, 39%, 64%)  Floral Lavender