#D4C871

#d4c871 ≈ Straw

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

#d4c871 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.14% red, 78.43% green and 44.31% blue; printed in CMYK it uses 0% cyan, 5.66% magenta, 46.7% yellow and 16.86% black. Its hue angle is 52.73°, with 53.51% saturation and 63.73% 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.3:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.7.

Description generated from the measured properties of this color.

Conversions of #d4c871 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.565

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #ccc7ab ≈ 0.001% of males
Protanopia #d6c36a ≈ 1.01% of males
Deuteranopia #dac875 ≈ 1.27% of males
Tritanopia #e1bdb3 ≈ 0.0001% of males
Protanomaly #d5c56d ≈ 1.08% of males
Deuteranomaly #d8c873 ≈ 4.63% of males
Tritanomaly #dcc29d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d4c871 {
  color: #d4c871;
}
Background
.bg-d4c871 {
  background-color: #d4c871;
  color: #000000;
}
Border
.border-d4c871 {
  border: 2px solid #d4c871;
}
CSS variables
:root {
  --color-primary: #d4c871;
  --color-primary-rgb: 212 200 113;
  --color-primary-hsl: 53 54% 64%;
}
Gradient
.gradient-d4c871 {
  background: linear-gradient(135deg, #d4c871, #afd471);
}
Colored shadow
.shadow-d4c871 {
  box-shadow: 0 8px 24px rgb(212 200 113 / 0.35);
}

Straw
#d4c871  rgb(212, 200, 113)  hsl(53, 54%, 64%)  Straw
#717dd4  rgb(113, 125, 212)  hsl(233, 54%, 64%)  Glaucous
#71d4c8  rgb(113, 212, 200)  hsl(173, 54%, 64%)  Medium Turquoise
#c871d4  rgb(200, 113, 212)  hsl(293, 54%, 64%)  Orchid