#C8CA7F

#c8ca7f ≈ Dark Khaki

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

#c8ca7f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 78.43% red, 79.22% green and 49.8% blue; printed in CMYK it uses 0.99% cyan, 0% magenta, 37.13% yellow and 20.78% black. Its hue angle is 61.6°, with 41.44% saturation and 64.51% 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.21:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.14.

Description generated from the measured properties of this color.

Conversions of #c8ca7f 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.5605

Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #c6c7ae ≈ 0.001% of males
Protanopia #d5c479 ≈ 1.01% of males
Deuteranopia #d6c782 ≈ 1.27% of males
Tritanopia #d2c1b7 ≈ 0.0001% of males
Protanomaly #d0c67c ≈ 1.08% of males
Deuteranomaly #d1c881 ≈ 4.63% of males
Tritanomaly #cec5a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c8ca7f {
  color: #c8ca7f;
}
Background
.bg-c8ca7f {
  background-color: #c8ca7f;
  color: #000000;
}
Border
.border-c8ca7f {
  border: 2px solid #c8ca7f;
}
CSS variables
:root {
  --color-primary: #c8ca7f;
  --color-primary-rgb: 200 202 127;
  --color-primary-hsl: 62 41% 65%;
}
Gradient
.gradient-c8ca7f {
  background: linear-gradient(135deg, #c8ca7f, #a3ca7f);
}
Colored shadow
.shadow-c8ca7f {
  box-shadow: 0 8px 24px rgb(200 202 127 / 0.35);
}

Dark Khaki
#c8ca7f  rgb(200, 202, 127)  hsl(62, 41%, 65%)  Dark Khaki
#817fca  rgb(129, 127, 202)  hsl(242, 41%, 65%)  Medium Purple
#7fc8ca  rgb(127, 200, 202)  hsl(182, 41%, 65%)  Medium Turquoise
#ca7fc8  rgb(202, 127, 200)  hsl(302, 41%, 65%)  Orchid