#D9CD6B

#d9cd6b ≈ Straw

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

#d9cd6b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 85.1% red, 80.39% green and 41.96% blue; printed in CMYK it uses 0% cyan, 5.53% magenta, 50.69% yellow and 14.9% black. Its hue angle is 53.45°, with 59.14% saturation and 63.53% 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.9:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.94.

Description generated from the measured properties of this color.

Conversions of #d9cd6b 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.5948

Readable text 1.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #d1ccad ≈ 0.001% of males
Protanopia #dcc762 ≈ 1.01% of males
Deuteranopia #e0cd6f ≈ 1.27% of males
Tritanopia #e7c1b6 ≈ 0.0001% of males
Protanomaly #dbca66 ≈ 1.08% of males
Deuteranomaly #ddcd6e ≈ 4.63% of males
Tritanomaly #e1c69e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d9cd6b {
  color: #d9cd6b;
}
Background
.bg-d9cd6b {
  background-color: #d9cd6b;
  color: #000000;
}
Border
.border-d9cd6b {
  border: 2px solid #d9cd6b;
}
CSS variables
:root {
  --color-primary: #d9cd6b;
  --color-primary-rgb: 217 205 107;
  --color-primary-hsl: 53 59% 64%;
}
Gradient
.gradient-d9cd6b {
  background: linear-gradient(135deg, #d9cd6b, #aed96b);
}
Colored shadow
.shadow-d9cd6b {
  box-shadow: 0 8px 24px rgb(217 205 107 / 0.35);
}

Straw
#d9cd6b  rgb(217, 205, 107)  hsl(53, 59%, 64%)  Straw
#6b77d9  rgb(107, 119, 217)  hsl(233, 59%, 64%)  Glaucous
#6bd9cd  rgb(107, 217, 205)  hsl(173, 59%, 64%)  Turquoise
#cd6bd9  rgb(205, 107, 217)  hsl(293, 59%, 64%)  Orchid