#D8CA71

#d8ca71 ≈ Straw

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

#d8ca71 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.71% red, 79.22% green and 44.31% blue; printed in CMYK it uses 0% cyan, 6.48% magenta, 47.69% yellow and 15.29% black. Its hue angle is 51.84°, with 56.91% saturation and 64.51% 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.61:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.14.

Description generated from the measured properties of this color.

Conversions of #d8ca71 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.5803

Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cfc9ac ≈ 0.001% of males
Protanopia #d9c569 ≈ 1.01% of males
Deuteranopia #ddcb75 ≈ 1.27% of males
Tritanopia #e5bfb5 ≈ 0.0001% of males
Protanomaly #d8c76d ≈ 1.08% of males
Deuteranomaly #dbcb73 ≈ 4.63% of males
Tritanomaly #e0c39e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8ca71 {
  color: #d8ca71;
}
Background
.bg-d8ca71 {
  background-color: #d8ca71;
  color: #000000;
}
Border
.border-d8ca71 {
  border: 2px solid #d8ca71;
}
CSS variables
:root {
  --color-primary: #d8ca71;
  --color-primary-rgb: 216 202 113;
  --color-primary-hsl: 52 57% 65%;
}
Gradient
.gradient-d8ca71 {
  background: linear-gradient(135deg, #d8ca71, #b3d871);
}
Colored shadow
.shadow-d8ca71 {
  box-shadow: 0 8px 24px rgb(216 202 113 / 0.35);
}

Straw
#d8ca71  rgb(216, 202, 113)  hsl(52, 57%, 65%)  Straw
#717fd8  rgb(113, 127, 216)  hsl(232, 57%, 65%)  Glaucous
#71d8ca  rgb(113, 216, 202)  hsl(172, 57%, 65%)  Turquoise
#ca71d8  rgb(202, 113, 216)  hsl(292, 57%, 65%)  Orchid