#D5CC5B

#d5cc5b ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#d5cc5b is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 83.53% red, 80% green and 35.69% blue; printed in CMYK it uses 0% cyan, 4.23% magenta, 57.28% yellow and 16.47% black. Its hue angle is 55.57°, with 59.22% saturation and 59.61% 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.62:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.41.

Description generated from the measured properties of this color.

Conversions of #d5cc5b 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.5809

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

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cecaa8 ≈ 0.001% of males
Protanopia #dcc54f ≈ 1.01% of males
Deuteranopia #dfcb61 ≈ 1.27% of males
Tritanopia #e3c0b3 ≈ 0.0001% of males
Protanomaly #d9c854 ≈ 1.08% of males
Deuteranomaly #dbcb5f ≈ 4.63% of males
Tritanomaly #dec598 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d5cc5b {
  color: #d5cc5b;
}
Background
.bg-d5cc5b {
  background-color: #d5cc5b;
  color: #000000;
}
Border
.border-d5cc5b {
  border: 2px solid #d5cc5b;
}
CSS variables
:root {
  --color-primary: #d5cc5b;
  --color-primary-rgb: 213 204 91;
  --color-primary-hsl: 56 59% 60%;
}
Gradient
.gradient-d5cc5b {
  background: linear-gradient(135deg, #d5cc5b, #a1d55b);
}
Colored shadow
.shadow-d5cc5b {
  box-shadow: 0 8px 24px rgb(213 204 91 / 0.35);
}

Straw
#d5cc5b  rgb(213, 204, 91)  hsl(56, 59%, 60%)  Straw
#5b64d5  rgb(91, 100, 213)  hsl(236, 59%, 60%)  Royal Blue
#5bd5cc  rgb(91, 213, 204)  hsl(176, 59%, 60%)  Medium Turquoise
#cc5bd5  rgb(204, 91, 213)  hsl(296, 59%, 60%)  Medium Orchid