#D4CD7A

#d4cd7a ≈ Straw

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

#d4cd7a 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 47.84% blue; printed in CMYK it uses 0% cyan, 3.3% magenta, 42.45% yellow and 16.86% black. Its hue angle is 55.33°, with 51.14% saturation and 65.49% 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.81:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.56.

Description generated from the measured properties of this color.

Conversions of #d4cd7a 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.5906

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

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #cecbb0 ≈ 0.001% of males
Protanopia #dac873 ≈ 1.01% of males
Deuteranopia #ddcc7e ≈ 1.27% of males
Tritanopia #e0c3b9 ≈ 0.0001% of males
Protanomaly #d8ca76 ≈ 1.08% of males
Deuteranomaly #d9cc7c ≈ 4.63% of males
Tritanomaly #dbc7a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d4cd7a  rgb(212, 205, 122)  hsl(55, 51%, 65%)  Straw
#7a81d4  rgb(122, 129, 212)  hsl(235, 51%, 65%)  Glaucous
#7ad4cd  rgb(122, 212, 205)  hsl(175, 51%, 65%)  Medium Turquoise
#cd7ad4  rgb(205, 122, 212)  hsl(295, 51%, 65%)  Orchid