#D4CD4C

#d4cd4c ≈ Straw

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

#d4cd4c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 80.39% green and 29.8% blue; printed in CMYK it uses 0% cyan, 3.3% magenta, 64.15% yellow and 16.86% black. Its hue angle is 56.91°, with 61.26% 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.64:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.3.

Description generated from the measured properties of this color.

Conversions of #d4cd4c 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.5818

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

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cdcaa5 ≈ 0.001% of males
Protanopia #dec63b ≈ 1.01% of males
Deuteranopia #e1cb54 ≈ 1.27% of males
Tritanopia #e3c0b2 ≈ 0.0001% of males
Protanomaly #dac943 ≈ 1.08% of males
Deuteranomaly #dccc51 ≈ 4.63% of males
Tritanomaly #ddc594 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d4cd4c {
  color: #d4cd4c;
}
Background
.bg-d4cd4c {
  background-color: #d4cd4c;
  color: #000000;
}
Border
.border-d4cd4c {
  border: 2px solid #d4cd4c;
}
CSS variables
:root {
  --color-primary: #d4cd4c;
  --color-primary-rgb: 212 205 76;
  --color-primary-hsl: 57 61% 56%;
}
Gradient
.gradient-d4cd4c {
  background: linear-gradient(135deg, #d4cd4c, #97d44c);
}
Colored shadow
.shadow-d4cd4c {
  box-shadow: 0 8px 24px rgb(212 205 76 / 0.35);
}

Straw
#d4cd4c  rgb(212, 205, 76)  hsl(57, 61%, 56%)  Straw
#4c53d4  rgb(76, 83, 212)  hsl(237, 61%, 56%)  Iris
#4cd4cd  rgb(76, 212, 205)  hsl(177, 61%, 56%)  Medium Turquoise
#cd4cd4  rgb(205, 76, 212)  hsl(297, 61%, 56%)  Medium Orchid