#CCCA7B

#ccca7b ≈ Dark Khaki

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

#ccca7b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80% red, 79.22% green and 48.24% blue; printed in CMYK it uses 0% cyan, 0.98% magenta, 39.71% yellow and 20% black. Its hue angle is 58.52°, with 44.26% saturation and 64.12% 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.3:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.86.

Description generated from the measured properties of this color.

Conversions of #ccca7b 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.5651

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #c8c8ad ≈ 0.001% of males
Protanopia #d6c475 ≈ 1.01% of males
Deuteranopia #d8c87e ≈ 1.27% of males
Tritanopia #d7c1b7 ≈ 0.0001% of males
Protanomaly #d2c777 ≈ 1.08% of males
Deuteranomaly #d3c97d ≈ 4.63% of males
Tritanomaly #d3c5a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccca7b {
  color: #ccca7b;
}
Background
.bg-ccca7b {
  background-color: #ccca7b;
  color: #000000;
}
Border
.border-ccca7b {
  border: 2px solid #ccca7b;
}
CSS variables
:root {
  --color-primary: #ccca7b;
  --color-primary-rgb: 204 202 123;
  --color-primary-hsl: 59 44% 64%;
}
Gradient
.gradient-ccca7b {
  background: linear-gradient(135deg, #ccca7b, #a6cc7b);
}
Colored shadow
.shadow-ccca7b {
  box-shadow: 0 8px 24px rgb(204 202 123 / 0.35);
}

Dark Khaki
#ccca7b  rgb(204, 202, 123)  hsl(59, 44%, 64%)  Dark Khaki
#7b7dcc  rgb(123, 125, 204)  hsl(239, 44%, 64%)  Medium Purple
#7bccca  rgb(123, 204, 202)  hsl(179, 44%, 64%)  Medium Turquoise
#ca7bcc  rgb(202, 123, 204)  hsl(299, 44%, 64%)  Orchid