#CDC781

#cdc781 ≈ Dark Khaki

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

#cdc781 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 78.04% green and 50.59% blue; printed in CMYK it uses 0% cyan, 2.93% magenta, 37.07% yellow and 19.61% black. Its hue angle is 55.26°, with 43.18% saturation and 65.49% 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.08:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.44.

Description generated from the measured properties of this color.

Conversions of #cdc781 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc99
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5541

Readable text 1.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #c8c5ad ≈ 0.001% of males
Protanopia #d3c27c ≈ 1.01% of males
Deuteranopia #d5c684 ≈ 1.27% of males
Tritanopia #d8beb5 ≈ 0.0001% of males
Protanomaly #d0c47e ≈ 1.08% of males
Deuteranomaly #d2c683 ≈ 4.63% of males
Tritanomaly #d3c2a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdc781 {
  color: #cdc781;
}
Background
.bg-cdc781 {
  background-color: #cdc781;
  color: #000000;
}
Border
.border-cdc781 {
  border: 2px solid #cdc781;
}
CSS variables
:root {
  --color-primary: #cdc781;
  --color-primary-rgb: 205 199 129;
  --color-primary-hsl: 55 43% 65%;
}
Gradient
.gradient-cdc781 {
  background: linear-gradient(135deg, #cdc781, #adcd81);
}
Colored shadow
.shadow-cdc781 {
  box-shadow: 0 8px 24px rgb(205 199 129 / 0.35);
}

Dark Khaki
#cdc781  rgb(205, 199, 129)  hsl(55, 43%, 65%)  Dark Khaki
#8187cd  rgb(129, 135, 205)  hsl(235, 43%, 65%)  Glaucous
#81cdc7  rgb(129, 205, 199)  hsl(175, 43%, 65%)  Medium Turquoise
#c781cd  rgb(199, 129, 205)  hsl(295, 43%, 65%)  Orchid