#D2CC7C

#d2cc7c ≈ Straw

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

#d2cc7c 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 48.63% blue; printed in CMYK it uses 0% cyan, 2.86% magenta, 40.95% yellow and 17.65% black. Its hue angle is 55.81°, with 48.86% 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.67:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.17.

Description generated from the measured properties of this color.

Conversions of #d2cc7c 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.5834

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

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cdcaaf ≈ 0.001% of males
Protanopia #d9c776 ≈ 1.01% of males
Deuteranopia #dbcb7f ≈ 1.27% of males
Tritanopia #dec2b8 ≈ 0.0001% of males
Protanomaly #d6c978 ≈ 1.08% of males
Deuteranomaly #d8cb7e ≈ 4.63% of males
Tritanomaly #d9c6a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2cc7c {
  color: #d2cc7c;
}
Background
.bg-d2cc7c {
  background-color: #d2cc7c;
  color: #000000;
}
Border
.border-d2cc7c {
  border: 2px solid #d2cc7c;
}
CSS variables
:root {
  --color-primary: #d2cc7c;
  --color-primary-rgb: 210 204 124;
  --color-primary-hsl: 56 49% 65%;
}
Gradient
.gradient-d2cc7c {
  background: linear-gradient(135deg, #d2cc7c, #add27c);
}
Colored shadow
.shadow-d2cc7c {
  box-shadow: 0 8px 24px rgb(210 204 124 / 0.35);
}

Straw
#d2cc7c  rgb(210, 204, 124)  hsl(56, 49%, 65%)  Straw
#7c82d2  rgb(124, 130, 210)  hsl(236, 49%, 65%)  Glaucous
#7cd2cc  rgb(124, 210, 204)  hsl(176, 49%, 65%)  Medium Turquoise
#cc7cd2  rgb(204, 124, 210)  hsl(296, 49%, 65%)  Orchid