#D4CD7C

#d4cd7c ≈ Straw

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#d4cd7c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.14% red, 80.39% green and 48.63% blue; printed in CMYK it uses 0% cyan, 3.3% magenta, 41.51% yellow and 16.86% black. Its hue angle is 55.23°, with 50.57% saturation and 65.88% 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.82:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.8.

Description generated from the measured properties of this color.

Conversions of #d4cd7c 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.5911

Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.82:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #cecbb0 ≈ 0.001% of males
Protanopia #dac876 ≈ 1.01% of males
Deuteranopia #ddcc7f ≈ 1.27% of males
Tritanopia #e0c3b9 ≈ 0.0001% of males
Protanomaly #d8ca78 ≈ 1.08% of males
Deuteranomaly #d9cc7e ≈ 4.63% of males
Tritanomaly #dbc7a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d4cd7c {
  color: #d4cd7c;
}
Background
.bg-d4cd7c {
  background-color: #d4cd7c;
  color: #000000;
}
Border
.border-d4cd7c {
  border: 2px solid #d4cd7c;
}
CSS variables
:root {
  --color-primary: #d4cd7c;
  --color-primary-rgb: 212 205 124;
  --color-primary-hsl: 55 51% 66%;
}
Gradient
.gradient-d4cd7c {
  background: linear-gradient(135deg, #d4cd7c, #afd47c);
}
Colored shadow
.shadow-d4cd7c {
  box-shadow: 0 8px 24px rgb(212 205 124 / 0.35);
}

Straw
#d4cd7c  rgb(212, 205, 124)  hsl(55, 51%, 66%)  Straw
#7c83d4  rgb(124, 131, 212)  hsl(235, 51%, 66%)  Glaucous
#7cd4cd  rgb(124, 212, 205)  hsl(175, 51%, 66%)  Medium Turquoise
#cd7cd4  rgb(205, 124, 212)  hsl(295, 51%, 66%)  Orchid