#D7CC52

#d7cc52 ≈ Straw

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

#d7cc52 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 80% green and 32.16% blue; printed in CMYK it uses 0% cyan, 5.12% magenta, 61.86% yellow and 15.69% black. Its hue angle is 55.04°, with 62.44% saturation and 58.24% 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.65:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.81.

Description generated from the measured properties of this color.

Conversions of #d7cc52 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.5824

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

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cfcaa6 ≈ 0.001% of males
Protanopia #ddc544 ≈ 1.01% of males
Deuteranopia #e1cb59 ≈ 1.27% of males
Tritanopia #e6bfb2 ≈ 0.0001% of males
Protanomaly #dbc84a ≈ 1.08% of males
Deuteranomaly #ddcc56 ≈ 4.63% of males
Tritanomaly #e0c495 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7cc52 {
  color: #d7cc52;
}
Background
.bg-d7cc52 {
  background-color: #d7cc52;
  color: #000000;
}
Border
.border-d7cc52 {
  border: 2px solid #d7cc52;
}
CSS variables
:root {
  --color-primary: #d7cc52;
  --color-primary-rgb: 215 204 82;
  --color-primary-hsl: 55 62% 58%;
}
Gradient
.gradient-d7cc52 {
  background: linear-gradient(135deg, #d7cc52, #a0d752);
}
Colored shadow
.shadow-d7cc52 {
  box-shadow: 0 8px 24px rgb(215 204 82 / 0.35);
}

Straw
#d7cc52  rgb(215, 204, 82)  hsl(55, 62%, 58%)  Straw
#525dd7  rgb(82, 93, 215)  hsl(235, 62%, 58%)  Slate Blue
#52d7cc  rgb(82, 215, 204)  hsl(175, 62%, 58%)  Medium Turquoise
#cc52d7  rgb(204, 82, 215)  hsl(295, 62%, 58%)  Medium Orchid