#D2CC47

#d2cc47 ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#d2cc47 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 80% green and 27.84% blue; printed in CMYK it uses 0% cyan, 2.86% magenta, 66.19% yellow and 17.65% black. Its hue angle is 57.41°, with 60.7% saturation and 55.1% 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.47:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.83.

Description generated from the measured properties of this color.

Conversions of #d2cc47 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5734

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #ccc9a4 ≈ 0.001% of males
Protanopia #ddc434 ≈ 1.01% of males
Deuteranopia #e0ca50 ≈ 1.27% of males
Tritanopia #e1bfb1 ≈ 0.0001% of males
Protanomaly #d9c83d ≈ 1.08% of males
Deuteranomaly #dacb4c ≈ 4.63% of males
Tritanomaly #dbc492 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2cc47 {
  color: #d2cc47;
}
Background
.bg-d2cc47 {
  background-color: #d2cc47;
  color: #000000;
}
Border
.border-d2cc47 {
  border: 2px solid #d2cc47;
}
CSS variables
:root {
  --color-primary: #d2cc47;
  --color-primary-rgb: 210 204 71;
  --color-primary-hsl: 57 61% 55%;
}
Gradient
.gradient-d2cc47 {
  background: linear-gradient(135deg, #d2cc47, #93d247);
}
Colored shadow
.shadow-d2cc47 {
  box-shadow: 0 8px 24px rgb(210 204 71 / 0.35);
}

Straw
#d2cc47  rgb(210, 204, 71)  hsl(57, 61%, 55%)  Straw
#474dd2  rgb(71, 77, 210)  hsl(237, 61%, 55%)  Iris
#47d2cc  rgb(71, 210, 204)  hsl(177, 61%, 55%)  Medium Turquoise
#cc47d2  rgb(204, 71, 210)  hsl(297, 61%, 55%)  Medium Orchid