#CDCF8A

#cdcf8a ≈ Dark Khaki

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

#cdcf8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 81.18% green and 54.12% blue; printed in CMYK it uses 0.97% cyan, 0% magenta, 33.33% yellow and 18.82% black. Its hue angle is 61.74°, with 41.82% saturation and 67.65% 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.89:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 6.54.

Description generated from the measured properties of this color.

Conversions of #cdcf8a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc99
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5944

Readable text 1.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #ccccb4 ≈ 0.001% of males
Protanopia #dac985 ≈ 1.01% of males
Deuteranopia #dacc8d ≈ 1.27% of males
Tritanopia #d6c7bd ≈ 0.0001% of males
Protanomaly #d5cc87 ≈ 1.08% of males
Deuteranomaly #d5cd8c ≈ 4.63% of males
Tritanomaly #d3caab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdcf8a {
  color: #cdcf8a;
}
Background
.bg-cdcf8a {
  background-color: #cdcf8a;
  color: #000000;
}
Border
.border-cdcf8a {
  border: 2px solid #cdcf8a;
}
CSS variables
:root {
  --color-primary: #cdcf8a;
  --color-primary-rgb: 205 207 138;
  --color-primary-hsl: 62 42% 68%;
}
Gradient
.gradient-cdcf8a {
  background: linear-gradient(135deg, #cdcf8a, #abcf8a);
}
Colored shadow
.shadow-cdcf8a {
  box-shadow: 0 8px 24px rgb(205 207 138 / 0.35);
}

Dark Khaki
#cdcf8a  rgb(205, 207, 138)  hsl(62, 42%, 68%)  Dark Khaki
#8c8acf  rgb(140, 138, 207)  hsl(242, 42%, 68%)  Purple Mountain Majesty
#8acdcf  rgb(138, 205, 207)  hsl(182, 42%, 68%)  Powder Blue
#cf8acd  rgb(207, 138, 205)  hsl(302, 42%, 68%)  Plum