#CDC17E

#cdc17e ≈ Dark Khaki

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

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

Description generated from the measured properties of this color.

Conversions of #cdc17e 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.5263

Readable text 1.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c0c0c0 ≈ 0.003% of males
Achromatomaly #c5c0a9 ≈ 0.001% of males
Protanopia #cdbd79 ≈ 1.01% of males
Deuteranopia #d1c281 ≈ 1.27% of males
Tritanopia #d8b8b0 ≈ 0.0001% of males
Protanomaly #cdbf7b ≈ 1.08% of males
Deuteranomaly #cfc280 ≈ 4.63% of males
Tritanomaly #d4bc9f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Khaki
#cdc17e  rgb(205, 193, 126)  hsl(51, 44%, 65%)  Dark Khaki
#7e8acd  rgb(126, 138, 205)  hsl(231, 44%, 65%)  Glaucous
#7ecdc1  rgb(126, 205, 193)  hsl(171, 44%, 65%)  Medium Turquoise
#c17ecd  rgb(193, 126, 205)  hsl(291, 44%, 65%)  Floral Lavender