#D8CD4C

#d8cd4c ≈ Straw

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

#d8cd4c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 80.39% green and 29.8% blue; printed in CMYK it uses 0% cyan, 5.09% magenta, 64.81% yellow and 15.29% black. Its hue angle is 55.29°, with 64.22% 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.76:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.11.

Description generated from the measured properties of this color.

Conversions of #d8cd4c 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.5878

Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #d0cba6 ≈ 0.001% of males
Protanopia #dec63b ≈ 1.01% of males
Deuteranopia #e2cc54 ≈ 1.27% of males
Tritanopia #e7c0b2 ≈ 0.0001% of males
Protanomaly #dcc943 ≈ 1.08% of males
Deuteranomaly #decd51 ≈ 4.63% of males
Tritanomaly #e1c594 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d8cd4c  rgb(216, 205, 76)  hsl(55, 64%, 57%)  Straw
#4c57d8  rgb(76, 87, 216)  hsl(235, 64%, 57%)  Iris
#4cd8cd  rgb(76, 216, 205)  hsl(175, 64%, 57%)  Turquoise
#cd4cd8  rgb(205, 76, 216)  hsl(295, 64%, 57%)  Medium Orchid