#C9C87F

#c9c87f ≈ Dark Khaki

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

#c9c87f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 78.82% red, 78.43% green and 49.8% blue; printed in CMYK it uses 0% cyan, 0.5% magenta, 36.82% yellow and 21.18% black. Its hue angle is 59.19°, with 40.66% saturation and 64.31% 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.05:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.55.

Description generated from the measured properties of this color.

Conversions of #c9c87f 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.5526

Readable text 1.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #c6c6ad ≈ 0.001% of males
Protanopia #d3c27a ≈ 1.01% of males
Deuteranopia #d5c682 ≈ 1.27% of males
Tritanopia #d3bfb6 ≈ 0.0001% of males
Protanomaly #cfc57c ≈ 1.08% of males
Deuteranomaly #d0c781 ≈ 4.63% of males
Tritanomaly #cfc3a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Khaki
#c9c87f  rgb(201, 200, 127)  hsl(59, 41%, 64%)  Dark Khaki
#7f80c9  rgb(127, 128, 201)  hsl(239, 41%, 64%)  Medium Purple
#7fc9c8  rgb(127, 201, 200)  hsl(179, 41%, 64%)  Medium Turquoise
#c87fc9  rgb(200, 127, 201)  hsl(299, 41%, 64%)  Orchid