#CEC87E

#cec87e ≈ Dark Khaki

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

#cec87e is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.78% red, 78.43% green and 49.41% blue; printed in CMYK it uses 0% cyan, 2.91% magenta, 38.83% yellow and 19.22% black. Its hue angle is 55.5°, with 44.94% saturation and 65.1% 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.19:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.49.

Description generated from the measured properties of this color.

Conversions of #cec87e 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.5594

Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #c9c6ad ≈ 0.001% of males
Protanopia #d4c378 ≈ 1.01% of males
Deuteranopia #d7c781 ≈ 1.27% of males
Tritanopia #d9bfb6 ≈ 0.0001% of males
Protanomaly #d2c57b ≈ 1.08% of males
Deuteranomaly #d3c780 ≈ 4.63% of males
Tritanomaly #d5c3a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Khaki
#cec87e  rgb(206, 200, 126)  hsl(56, 45%, 65%)  Dark Khaki
#7e84ce  rgb(126, 132, 206)  hsl(236, 45%, 65%)  Glaucous
#7ecec8  rgb(126, 206, 200)  hsl(176, 45%, 65%)  Medium Turquoise
#c87ece  rgb(200, 126, 206)  hsl(296, 45%, 65%)  Orchid