#CEC76B

#cec76b ≈ Dark Khaki

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

#cec76b is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.78% red, 78.04% green and 41.96% blue; printed in CMYK it uses 0% cyan, 3.4% magenta, 48.06% yellow and 19.22% black. Its hue angle is 55.76°, with 50.25% saturation and 61.37% 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.01:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.79.

Description generated from the measured properties of this color.

Conversions of #cec76b 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.5503

Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #c8c5a7 ≈ 0.001% of males
Protanopia #d5c163 ≈ 1.01% of males
Deuteranopia #d8c66f ≈ 1.27% of males
Tritanopia #dbbcb2 ≈ 0.0001% of males
Protanomaly #d2c466 ≈ 1.08% of males
Deuteranomaly #d4c66e ≈ 4.63% of males
Tritanomaly #d6c19a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cec76b {
  color: #cec76b;
}
Background
.bg-cec76b {
  background-color: #cec76b;
  color: #000000;
}
Border
.border-cec76b {
  border: 2px solid #cec76b;
}
CSS variables
:root {
  --color-primary: #cec76b;
  --color-primary-rgb: 206 199 107;
  --color-primary-hsl: 56 50% 61%;
}
Gradient
.gradient-cec76b {
  background: linear-gradient(135deg, #cec76b, #a3ce6b);
}
Colored shadow
.shadow-cec76b {
  box-shadow: 0 8px 24px rgb(206 199 107 / 0.35);
}

Dark Khaki
#cec76b  rgb(206, 199, 107)  hsl(56, 50%, 61%)  Dark Khaki
#6b72ce  rgb(107, 114, 206)  hsl(236, 50%, 61%)  Medium Slate Blue
#6bcec7  rgb(107, 206, 199)  hsl(176, 50%, 61%)  Medium Turquoise
#c76bce  rgb(199, 107, 206)  hsl(296, 50%, 61%)  Orchid