#D2CC6E

#d2cc6e ≈ Straw

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

#d2cc6e 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% green and 43.14% blue; printed in CMYK it uses 0% cyan, 2.86% magenta, 47.62% yellow and 17.65% black. Its hue angle is 56.4°, with 52.63% saturation and 62.75% 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.6:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.87.

Description generated from the measured properties of this color.

Conversions of #d2cc6e 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.5801

Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.6:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cccaac ≈ 0.001% of males
Protanopia #dac666 ≈ 1.01% of males
Deuteranopia #ddcb72 ≈ 1.27% of males
Tritanopia #dfc1b6 ≈ 0.0001% of males
Protanomaly #d7c869 ≈ 1.08% of males
Deuteranomaly #d9cb71 ≈ 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-d2cc6e {
  color: #d2cc6e;
}
Background
.bg-d2cc6e {
  background-color: #d2cc6e;
  color: #000000;
}
Border
.border-d2cc6e {
  border: 2px solid #d2cc6e;
}
CSS variables
:root {
  --color-primary: #d2cc6e;
  --color-primary-rgb: 210 204 110;
  --color-primary-hsl: 56 53% 63%;
}
Gradient
.gradient-d2cc6e {
  background: linear-gradient(135deg, #d2cc6e, #a6d26e);
}
Colored shadow
.shadow-d2cc6e {
  box-shadow: 0 8px 24px rgb(210 204 110 / 0.35);
}

Straw
#d2cc6e  rgb(210, 204, 110)  hsl(56, 53%, 63%)  Straw
#6e74d2  rgb(110, 116, 210)  hsl(236, 53%, 63%)  Medium Slate Blue
#6ed2cc  rgb(110, 210, 204)  hsl(176, 53%, 63%)  Medium Turquoise
#cc6ed2  rgb(204, 110, 210)  hsl(296, 53%, 63%)  Orchid