#CDC572

#cdc572 ≈ Dark Khaki

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

#cdc572 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 77.25% green and 44.71% blue; printed in CMYK it uses 0% cyan, 3.9% magenta, 44.39% yellow and 19.61% black. Its hue angle is 54.73°, with 47.64% saturation and 62.55% 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 11.83:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 3.9.

Description generated from the measured properties of this color.

Conversions of #cdc572 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.5413

Readable text 1.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.83:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #c7c3a8 ≈ 0.001% of males
Protanopia #d2c06b ≈ 1.01% of males
Deuteranopia #d5c476 ≈ 1.27% of males
Tritanopia #d9bbb1 ≈ 0.0001% of males
Protanomaly #d0c26e ≈ 1.08% of males
Deuteranomaly #d2c574 ≈ 4.63% of males
Tritanomaly #d4bf9c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdc572 {
  color: #cdc572;
}
Background
.bg-cdc572 {
  background-color: #cdc572;
  color: #000000;
}
Border
.border-cdc572 {
  border: 2px solid #cdc572;
}
CSS variables
:root {
  --color-primary: #cdc572;
  --color-primary-rgb: 205 197 114;
  --color-primary-hsl: 55 48% 63%;
}
Gradient
.gradient-cdc572 {
  background: linear-gradient(135deg, #cdc572, #a7cd72);
}
Colored shadow
.shadow-cdc572 {
  box-shadow: 0 8px 24px rgb(205 197 114 / 0.35);
}

Dark Khaki
#cdc572  rgb(205, 197, 114)  hsl(55, 48%, 63%)  Dark Khaki
#727acd  rgb(114, 122, 205)  hsl(235, 48%, 63%)  Glaucous
#72cdc5  rgb(114, 205, 197)  hsl(175, 48%, 63%)  Medium Turquoise
#c572cd  rgb(197, 114, 205)  hsl(295, 48%, 63%)  Orchid