#D8D87F

#d8d87f ≈ Straw

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

#d8d87f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.71% red, 84.71% green and 49.8% blue; printed in CMYK it uses 0% cyan, 0% magenta, 41.2% yellow and 15.29% black. Its hue angle is 60°, with 53.29% saturation and 67.25% 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 14.05:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.06.

Description generated from the measured properties of this color.

Conversions of #d8d87f 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.6524

Readable text 1.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d3d3d3 ≈ 0.003% of males
Achromatomaly #d5d5b7 ≈ 0.001% of males
Protanopia #e5d178 ≈ 1.01% of males
Deuteranopia #e6d583 ≈ 1.27% of males
Tritanopia #e3cec2 ≈ 0.0001% of males
Protanomaly #e0d47b ≈ 1.08% of males
Deuteranomaly #e1d681 ≈ 4.63% of males
Tritanomaly #dfd2ac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8d87f {
  color: #d8d87f;
}
Background
.bg-d8d87f {
  background-color: #d8d87f;
  color: #000000;
}
Border
.border-d8d87f {
  border: 2px solid #d8d87f;
}
CSS variables
:root {
  --color-primary: #d8d87f;
  --color-primary-rgb: 216 216 127;
  --color-primary-hsl: 60 53% 67%;
}
Gradient
.gradient-d8d87f {
  background: linear-gradient(135deg, #d8d87f, #abd87f);
}
Colored shadow
.shadow-d8d87f {
  box-shadow: 0 8px 24px rgb(216 216 127 / 0.35);
}

Straw
#d8d87f  rgb(216, 216, 127)  hsl(60, 53%, 67%)  Straw
#7f7fd8  rgb(127, 127, 216)  hsl(240, 53%, 67%)  Medium Purple
#7fd8d8  rgb(127, 216, 216)  hsl(180, 53%, 67%)  Medium Turquoise
#d87fd8  rgb(216, 127, 216)  hsl(300, 53%, 67%)  Orchid