#C9CD8A

#c9cd8a ≈ Dark Khaki

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

#c9cd8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 78.82% red, 80.39% green and 54.12% blue; printed in CMYK it uses 1.95% cyan, 0% magenta, 32.68% yellow and 19.61% black. Its hue angle is 63.58°, with 40.12% saturation and 67.25% 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.58:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 6.42.

Description generated from the measured properties of this color.

Conversions of #c9cd8a 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.5792

Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #c9cab3 ≈ 0.001% of males
Protanopia #d7c785 ≈ 1.01% of males
Deuteranopia #d7c98d ≈ 1.27% of males
Tritanopia #d2c5bc ≈ 0.0001% of males
Protanomaly #d2ca87 ≈ 1.08% of males
Deuteranomaly #d2cb8c ≈ 4.63% of males
Tritanomaly #cec8aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c9cd8a {
  color: #c9cd8a;
}
Background
.bg-c9cd8a {
  background-color: #c9cd8a;
  color: #000000;
}
Border
.border-c9cd8a {
  border: 2px solid #c9cd8a;
}
CSS variables
:root {
  --color-primary: #c9cd8a;
  --color-primary-rgb: 201 205 138;
  --color-primary-hsl: 64 40% 67%;
}
Gradient
.gradient-c9cd8a {
  background: linear-gradient(135deg, #c9cd8a, #a7cd8a);
}
Colored shadow
.shadow-c9cd8a {
  box-shadow: 0 8px 24px rgb(201 205 138 / 0.35);
}

Dark Khaki
#c9cd8a  rgb(201, 205, 138)  hsl(64, 40%, 67%)  Dark Khaki
#8e8acd  rgb(142, 138, 205)  hsl(244, 40%, 67%)  Purple Mountain Majesty
#8ac9cd  rgb(138, 201, 205)  hsl(184, 40%, 67%)  Powder Blue
#cd8ac9  rgb(205, 138, 201)  hsl(304, 40%, 67%)  Plum