#D5CC4B

#d5cc4b ≈ Straw

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

#d5cc4b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.53% red, 80% green and 29.41% blue; printed in CMYK it uses 0% cyan, 4.23% magenta, 64.79% yellow and 16.47% black. Its hue angle is 56.09°, with 62.16% saturation and 56.47% 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.57:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.36.

Description generated from the measured properties of this color.

Conversions of #d5cc4b 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.5784

Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.57:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cdcaa5 ≈ 0.001% of males
Protanopia #ddc53a ≈ 1.01% of males
Deuteranopia #e0cb53 ≈ 1.27% of males
Tritanopia #e4bfb1 ≈ 0.0001% of males
Protanomaly #dac841 ≈ 1.08% of males
Deuteranomaly #dccb50 ≈ 4.63% of males
Tritanomaly #dec493 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d5cc4b  rgb(213, 204, 75)  hsl(56, 62%, 56%)  Straw
#4b54d5  rgb(75, 84, 213)  hsl(236, 62%, 56%)  Iris
#4bd5cc  rgb(75, 213, 204)  hsl(176, 62%, 56%)  Medium Turquoise
#cc4bd5  rgb(204, 75, 213)  hsl(296, 62%, 56%)  Medium Orchid