#D7CC4C

#d7cc4c ≈ Straw

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

#d7cc4c 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 29.8% blue; printed in CMYK it uses 0% cyan, 5.12% magenta, 64.65% yellow and 15.69% black. Its hue angle is 55.25°, with 63.47% saturation and 57.06% 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.63:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.22.

Description generated from the measured properties of this color.

Conversions of #d7cc4c 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.5815

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

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cfcaa5 ≈ 0.001% of males
Protanopia #ddc53b ≈ 1.01% of males
Deuteranopia #e1cb54 ≈ 1.27% of males
Tritanopia #e6bfb2 ≈ 0.0001% of males
Protanomaly #dbc843 ≈ 1.08% of males
Deuteranomaly #ddcc51 ≈ 4.63% of males
Tritanomaly #e0c494 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d7cc4c  rgb(215, 204, 76)  hsl(55, 63%, 57%)  Straw
#4c57d7  rgb(76, 87, 215)  hsl(235, 63%, 57%)  Iris
#4cd7cc  rgb(76, 215, 204)  hsl(175, 63%, 57%)  Medium Turquoise
#cc4cd7  rgb(204, 76, 215)  hsl(295, 63%, 57%)  Medium Orchid