#CECB7C

#cecb7c ≈ Dark Khaki

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

#cecb7c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.78% red, 79.61% green and 48.63% blue; printed in CMYK it uses 0% cyan, 1.46% magenta, 39.81% yellow and 19.22% black. Its hue angle is 57.8°, with 45.56% saturation and 64.71% 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.46:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.09.

Description generated from the measured properties of this color.

Conversions of #cecb7c 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.5729

Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #cac9ae ≈ 0.001% of males
Protanopia #d7c576 ≈ 1.01% of males
Deuteranopia #d9c97f ≈ 1.27% of males
Tritanopia #d9c2b8 ≈ 0.0001% of males
Protanomaly #d4c878 ≈ 1.08% of males
Deuteranomaly #d5ca7e ≈ 4.63% of males
Tritanomaly #d5c5a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cecb7c {
  color: #cecb7c;
}
Background
.bg-cecb7c {
  background-color: #cecb7c;
  color: #000000;
}
Border
.border-cecb7c {
  border: 2px solid #cecb7c;
}
CSS variables
:root {
  --color-primary: #cecb7c;
  --color-primary-rgb: 206 203 124;
  --color-primary-hsl: 58 46% 65%;
}
Gradient
.gradient-cecb7c {
  background: linear-gradient(135deg, #cecb7c, #a8ce7c);
}
Colored shadow
.shadow-cecb7c {
  box-shadow: 0 8px 24px rgb(206 203 124 / 0.35);
}

Dark Khaki
#cecb7c  rgb(206, 203, 124)  hsl(58, 46%, 65%)  Dark Khaki
#7c7fce  rgb(124, 127, 206)  hsl(238, 46%, 65%)  Glaucous
#7ccecb  rgb(124, 206, 203)  hsl(178, 46%, 65%)  Medium Turquoise
#cb7cce  rgb(203, 124, 206)  hsl(298, 46%, 65%)  Orchid