#CCBA8A

#ccba8a ≈ Ecru

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

#ccba8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80% red, 72.94% green and 54.12% blue; printed in CMYK it uses 0% cyan, 8.82% magenta, 32.35% yellow and 20% black. Its hue angle is 43.64°, with 39.29% saturation and 67.06% 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.96:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 2.49.

Description generated from the measured properties of this color.

Conversions of #ccba8a 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.4979

Readable text 1.92:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bbbbbb ≈ 0.003% of males
Achromatomaly #c2bbaa ≈ 0.001% of males
Protanopia #c5b887 ≈ 1.01% of males
Deuteranopia #c9bd8b ≈ 1.27% of males
Tritanopia #d6b2ad ≈ 0.0001% of males
Protanomaly #c8b988 ≈ 1.08% of males
Deuteranomaly #cabc8b ≈ 4.63% of males
Tritanomaly #d2b5a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccba8a {
  color: #ccba8a;
}
Background
.bg-ccba8a {
  background-color: #ccba8a;
  color: #000000;
}
Border
.border-ccba8a {
  border: 2px solid #ccba8a;
}
CSS variables
:root {
  --color-primary: #ccba8a;
  --color-primary-rgb: 204 186 138;
  --color-primary-hsl: 44 39% 67%;
}
Gradient
.gradient-ccba8a {
  background: linear-gradient(135deg, #ccba8a, #bdcc8a);
}
Colored shadow
.shadow-ccba8a {
  box-shadow: 0 8px 24px rgb(204 186 138 / 0.35);
}

Ecru
#ccba8a  rgb(204, 186, 138)  hsl(44, 39%, 67%)  Ecru
#8a9ccc  rgb(138, 156, 204)  hsl(224, 39%, 67%)  Wild Blue Yonder
#8accba  rgb(138, 204, 186)  hsl(164, 39%, 67%)  Medium Aquamarine
#ba8acc  rgb(186, 138, 204)  hsl(284, 39%, 67%)  Floral Lavender