#CDC08A

#cdc08a ≈ Ecru

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

#cdc08a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 75.29% green and 54.12% blue; printed in CMYK it uses 0% cyan, 6.34% magenta, 32.68% yellow and 19.61% black. Its hue angle is 48.36°, with 40.12% saturation and 67.25% 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.5:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 3.8.

Description generated from the measured properties of this color.

Conversions of #cdc08a 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.5251

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

Achromatopsia #c0c0c0 ≈ 0.003% of males
Achromatomaly #c5c0ad ≈ 0.001% of males
Protanopia #cbbd86 ≈ 1.01% of males
Deuteranopia #cec28c ≈ 1.27% of males
Tritanopia #d7b8b2 ≈ 0.0001% of males
Protanomaly #ccbe88 ≈ 1.08% of males
Deuteranomaly #cec18b ≈ 4.63% of males
Tritanomaly #d3bba3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdc08a {
  color: #cdc08a;
}
Background
.bg-cdc08a {
  background-color: #cdc08a;
  color: #000000;
}
Border
.border-cdc08a {
  border: 2px solid #cdc08a;
}
CSS variables
:root {
  --color-primary: #cdc08a;
  --color-primary-rgb: 205 192 138;
  --color-primary-hsl: 48 40% 67%;
}
Gradient
.gradient-cdc08a {
  background: linear-gradient(135deg, #cdc08a, #b8cd8a);
}
Colored shadow
.shadow-cdc08a {
  box-shadow: 0 8px 24px rgb(205 192 138 / 0.35);
}

Ecru
#cdc08a  rgb(205, 192, 138)  hsl(48, 40%, 67%)  Ecru
#8a97cd  rgb(138, 151, 205)  hsl(228, 40%, 67%)  Wild Blue Yonder
#8acdc0  rgb(138, 205, 192)  hsl(168, 40%, 67%)  Medium Turquoise
#c08acd  rgb(192, 138, 205)  hsl(288, 40%, 67%)  Wisteria