#CBC17C

#cbc17c ≈ Dark Khaki

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

#cbc17c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 79.61% red, 75.69% green and 48.63% blue; printed in CMYK it uses 0% cyan, 4.93% magenta, 38.92% yellow and 20.39% black. Its hue angle is 52.41°, with 43.17% saturation and 64.12% 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.46:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 3.45.

Description generated from the measured properties of this color.

Conversions of #cbc17c 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.5229

Readable text 1.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c4c0a9 ≈ 0.001% of males
Protanopia #cdbd77 ≈ 1.01% of males
Deuteranopia #d0c17f ≈ 1.27% of males
Tritanopia #d6b8b0 ≈ 0.0001% of males
Protanomaly #ccbe79 ≈ 1.08% of males
Deuteranomaly #cec17e ≈ 4.63% of males
Tritanomaly #d2bc9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cbc17c {
  color: #cbc17c;
}
Background
.bg-cbc17c {
  background-color: #cbc17c;
  color: #000000;
}
Border
.border-cbc17c {
  border: 2px solid #cbc17c;
}
CSS variables
:root {
  --color-primary: #cbc17c;
  --color-primary-rgb: 203 193 124;
  --color-primary-hsl: 52 43% 64%;
}
Gradient
.gradient-cbc17c {
  background: linear-gradient(135deg, #cbc17c, #adcb7c);
}
Colored shadow
.shadow-cbc17c {
  box-shadow: 0 8px 24px rgb(203 193 124 / 0.35);
}

Dark Khaki
#cbc17c  rgb(203, 193, 124)  hsl(52, 43%, 64%)  Dark Khaki
#7c86cb  rgb(124, 134, 203)  hsl(232, 43%, 64%)  Glaucous
#7ccbc1  rgb(124, 203, 193)  hsl(172, 43%, 64%)  Medium Turquoise
#c17ccb  rgb(193, 124, 203)  hsl(292, 43%, 64%)  Floral Lavender