#D4CD57

#d4cd57 ≈ Straw

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

#d4cd57 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 83.14% red, 80.39% green and 34.12% blue; printed in CMYK it uses 0% cyan, 3.3% magenta, 58.96% yellow and 16.86% black. Its hue angle is 56.64°, with 59.24% saturation and 58.63% 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.67:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.6.

Description generated from the measured properties of this color.

Conversions of #d4cd57 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.5835

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

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cdcba7 ≈ 0.001% of males
Protanopia #ddc64a ≈ 1.01% of males
Deuteranopia #e0cb5e ≈ 1.27% of males
Tritanopia #e2c1b4 ≈ 0.0001% of males
Protanomaly #d9c94f ≈ 1.08% of males
Deuteranomaly #dbcc5b ≈ 4.63% of males
Tritanomaly #ddc697 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d4cd57  rgb(212, 205, 87)  hsl(57, 59%, 59%)  Straw
#575ed4  rgb(87, 94, 212)  hsl(237, 59%, 59%)  Slate Blue
#57d4cd  rgb(87, 212, 205)  hsl(177, 59%, 59%)  Medium Turquoise
#cd57d4  rgb(205, 87, 212)  hsl(297, 59%, 59%)  Medium Orchid