#CEC56D

#cec56d ≈ Dark Khaki

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#cec56d is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.78% red, 77.25% green and 42.75% blue; printed in CMYK it uses 0% cyan, 4.37% magenta, 47.09% yellow and 19.22% black. Its hue angle is 54.43°, with 49.74% saturation and 61.76% 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 4.26.

Description generated from the measured properties of this color.

Conversions of #cec56d 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.5416

Readable text 1.77: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 #c7c3a7 ≈ 0.001% of males
Protanopia #d3c066 ≈ 1.01% of males
Deuteranopia #d6c571 ≈ 1.27% of males
Tritanopia #dabab0 ≈ 0.0001% of males
Protanomaly #d1c269 ≈ 1.08% of males
Deuteranomaly #d3c56f ≈ 4.63% of males
Tritanomaly #d6bf9a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cec56d {
  color: #cec56d;
}
Background
.bg-cec56d {
  background-color: #cec56d;
  color: #000000;
}
Border
.border-cec56d {
  border: 2px solid #cec56d;
}
CSS variables
:root {
  --color-primary: #cec56d;
  --color-primary-rgb: 206 197 109;
  --color-primary-hsl: 54 50% 62%;
}
Gradient
.gradient-cec56d {
  background: linear-gradient(135deg, #cec56d, #a6ce6d);
}
Colored shadow
.shadow-cec56d {
  box-shadow: 0 8px 24px rgb(206 197 109 / 0.35);
}

Dark Khaki
#cec56d  rgb(206, 197, 109)  hsl(54, 50%, 62%)  Dark Khaki
#6d76ce  rgb(109, 118, 206)  hsl(234, 50%, 62%)  Glaucous
#6dcec5  rgb(109, 206, 197)  hsl(174, 50%, 62%)  Medium Turquoise
#c56dce  rgb(197, 109, 206)  hsl(294, 50%, 62%)  Orchid