#D5CC4F

#d5cc4f ≈ Straw

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

#d5cc4f 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 30.98% blue; printed in CMYK it uses 0% cyan, 4.23% magenta, 62.91% yellow and 16.47% black. Its hue angle is 55.97°, with 61.47% saturation and 57.25% 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.58:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.09.

Description generated from the measured properties of this color.

Conversions of #d5cc4f 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.579

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

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cdcaa5 ≈ 0.001% of males
Protanopia #ddc540 ≈ 1.01% of males
Deuteranopia #e0cb56 ≈ 1.27% of males
Tritanopia #e4bfb2 ≈ 0.0001% of males
Protanomaly #dac846 ≈ 1.08% of males
Deuteranomaly #dccb53 ≈ 4.63% of males
Tritanomaly #dec494 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d5cc4f  rgb(213, 204, 79)  hsl(56, 61%, 57%)  Straw
#4f58d5  rgb(79, 88, 213)  hsl(236, 61%, 57%)  Iris
#4fd5cc  rgb(79, 213, 204)  hsl(176, 61%, 57%)  Medium Turquoise
#cc4fd5  rgb(204, 79, 213)  hsl(296, 61%, 57%)  Medium Orchid