#C2CD7B

#c2cd7b ≈ Dark Khaki

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

#c2cd7b is a color from the yellow-green family, with high lightness and moderate saturation. In the RGB model it is made of 76.08% red, 80.39% green and 48.24% blue; printed in CMYK it uses 5.37% cyan, 0% magenta, 40% yellow and 19.61% black. Its hue angle is 68.05°, with 45.05% saturation and 64.31% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and brand accents. Black text on this color reaches a contrast ratio of 12.31:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 6.68.

Description generated from the measured properties of this color.

Conversions of #c2cd7b 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.5656

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

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #c4c9ad ≈ 0.001% of males
Protanopia #d8c575 ≈ 1.01% of males
Deuteranopia #d7c77f ≈ 1.27% of males
Tritanopia #cbc5b9 ≈ 0.0001% of males
Protanomaly #cfc977 ≈ 1.08% of males
Deuteranomaly #cfc97d ≈ 4.63% of males
Tritanomaly #c7c8a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c2cd7b {
  color: #c2cd7b;
}
Background
.bg-c2cd7b {
  background-color: #c2cd7b;
  color: #000000;
}
Border
.border-c2cd7b {
  border: 2px solid #c2cd7b;
}
CSS variables
:root {
  --color-primary: #c2cd7b;
  --color-primary-rgb: 194 205 123;
  --color-primary-hsl: 68 45% 64%;
}
Gradient
.gradient-c2cd7b {
  background: linear-gradient(135deg, #c2cd7b, #99cd7b);
}
Colored shadow
.shadow-c2cd7b {
  box-shadow: 0 8px 24px rgb(194 205 123 / 0.35);
}

Dark Khaki
#c2cd7b  rgb(194, 205, 123)  hsl(68, 45%, 64%)  Dark Khaki
#867bcd  rgb(134, 123, 205)  hsl(248, 45%, 64%)  Medium Purple
#7bc2cd  rgb(123, 194, 205)  hsl(188, 45%, 64%)  Sky Blue
#cd7bc2  rgb(205, 123, 194)  hsl(308, 45%, 64%)  Sky Magenta