#CDCD7E

#cdcd7e ≈ Dark Khaki

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

#cdcd7e is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 80.39% green and 49.41% blue; printed in CMYK it uses 0% cyan, 0% magenta, 38.54% yellow and 19.61% black. Its hue angle is 60°, with 44.13% saturation and 64.9% 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.63:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.63.

Description generated from the measured properties of this color.

Conversions of #cdcd7e 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.5815

Readable text 1.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.63:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cacab0 ≈ 0.001% of males
Protanopia #d9c778 ≈ 1.01% of males
Deuteranopia #daca81 ≈ 1.27% of males
Tritanopia #d7c4ba ≈ 0.0001% of males
Protanomaly #d4c97a ≈ 1.08% of males
Deuteranomaly #d5cb80 ≈ 4.63% of males
Tritanomaly #d3c8a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdcd7e {
  color: #cdcd7e;
}
Background
.bg-cdcd7e {
  background-color: #cdcd7e;
  color: #000000;
}
Border
.border-cdcd7e {
  border: 2px solid #cdcd7e;
}
CSS variables
:root {
  --color-primary: #cdcd7e;
  --color-primary-rgb: 205 205 126;
  --color-primary-hsl: 60 44% 65%;
}
Gradient
.gradient-cdcd7e {
  background: linear-gradient(135deg, #cdcd7e, #a5cd7e);
}
Colored shadow
.shadow-cdcd7e {
  box-shadow: 0 8px 24px rgb(205 205 126 / 0.35);
}

Dark Khaki
#cdcd7e  rgb(205, 205, 126)  hsl(60, 44%, 65%)  Dark Khaki
#7e7ecd  rgb(126, 126, 205)  hsl(240, 44%, 65%)  Medium Purple
#7ecdcd  rgb(126, 205, 205)  hsl(180, 44%, 65%)  Medium Turquoise
#cd7ecd  rgb(205, 126, 205)  hsl(300, 44%, 65%)  Orchid