#CEC97D

#cec97d ≈ Dark Khaki

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

#cec97d 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.82% green and 49.02% blue; printed in CMYK it uses 0% cyan, 2.43% magenta, 39.32% yellow and 19.22% black. Its hue angle is 56.3°, with 45.25% 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 12.28:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.65.

Description generated from the measured properties of this color.

Conversions of #cec97d 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.5638

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #c9c7ad ≈ 0.001% of males
Protanopia #d5c477 ≈ 1.01% of males
Deuteranopia #d7c880 ≈ 1.27% of males
Tritanopia #d9c0b6 ≈ 0.0001% of males
Protanomaly #d2c67a ≈ 1.08% of males
Deuteranomaly #d4c87f ≈ 4.63% of males
Tritanomaly #d5c4a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Khaki
#cec97d  rgb(206, 201, 125)  hsl(56, 45%, 65%)  Dark Khaki
#7d82ce  rgb(125, 130, 206)  hsl(236, 45%, 65%)  Glaucous
#7dcec9  rgb(125, 206, 201)  hsl(176, 45%, 65%)  Medium Turquoise
#c97dce  rgb(201, 125, 206)  hsl(296, 45%, 65%)  Orchid