#D2CD6B

#d2cd6b ≈ Straw

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

#d2cd6b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 80.39% green and 41.96% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 49.05% yellow and 17.65% black. Its hue angle is 57.09°, with 53.37% saturation and 62.16% 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.69:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.62.

Description generated from the measured properties of this color.

Conversions of #d2cd6b 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.5843

Readable text 1.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.69:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cdcbab ≈ 0.001% of males
Protanopia #dbc762 ≈ 1.01% of males
Deuteranopia #decb70 ≈ 1.27% of males
Tritanopia #dfc2b6 ≈ 0.0001% of males
Protanomaly #d8c966 ≈ 1.08% of males
Deuteranomaly #d9cc6e ≈ 4.63% of males
Tritanomaly #dac69e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d2cd6b  rgb(210, 205, 107)  hsl(57, 53%, 62%)  Straw
#6b70d2  rgb(107, 112, 210)  hsl(237, 53%, 62%)  Medium Slate Blue
#6bd2cd  rgb(107, 210, 205)  hsl(177, 53%, 62%)  Medium Turquoise
#cd6bd2  rgb(205, 107, 210)  hsl(297, 53%, 62%)  Orchid