#CDC971

#cdc971 ≈ Dark Khaki

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

#cdc971 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 44.31% blue; printed in CMYK it uses 0% cyan, 1.95% magenta, 44.88% yellow and 19.61% black. Its hue angle is 57.39°, with 47.92% saturation and 62.35% 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.19:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.86.

Description generated from the measured properties of this color.

Conversions of #cdc971 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.5594

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

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #c8c7aa ≈ 0.001% of males
Protanopia #d6c36a ≈ 1.01% of males
Deuteranopia #d8c775 ≈ 1.27% of males
Tritanopia #d9bfb4 ≈ 0.0001% of males
Protanomaly #d3c56d ≈ 1.08% of males
Deuteranomaly #d4c873 ≈ 4.63% of males
Tritanomaly #d4c39e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Khaki
#cdc971  rgb(205, 201, 113)  hsl(57, 48%, 62%)  Dark Khaki
#7175cd  rgb(113, 117, 205)  hsl(237, 48%, 62%)  Medium Slate Blue
#71cdc9  rgb(113, 205, 201)  hsl(177, 48%, 62%)  Medium Turquoise
#c971cd  rgb(201, 113, 205)  hsl(297, 48%, 62%)  Orchid