#CDC97A

#cdc97a ≈ Dark Khaki

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

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

Description generated from the measured properties of this color.

Conversions of #cdc97a 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.5616

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

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #c9c7ac ≈ 0.001% of males
Protanopia #d5c374 ≈ 1.01% of males
Deuteranopia #d7c77d ≈ 1.27% of males
Tritanopia #d8c0b6 ≈ 0.0001% of males
Protanomaly #d2c676 ≈ 1.08% of males
Deuteranomaly #d3c87c ≈ 4.63% of males
Tritanomaly #d4c3a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Khaki
#cdc97a  rgb(205, 201, 122)  hsl(57, 45%, 64%)  Dark Khaki
#7a7ecd  rgb(122, 126, 205)  hsl(237, 45%, 64%)  Glaucous
#7acdc9  rgb(122, 205, 201)  hsl(177, 45%, 64%)  Medium Turquoise
#c97acd  rgb(201, 122, 205)  hsl(297, 45%, 64%)  Orchid