#D9D87F

#d9d87f ≈ Straw

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

#d9d87f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 85.1% red, 84.71% green and 49.8% blue; printed in CMYK it uses 0% cyan, 0.46% magenta, 41.47% yellow and 14.9% black. Its hue angle is 59.33°, with 54.22% saturation and 67.45% 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.08:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.84.

Description generated from the measured properties of this color.

Conversions of #d9d87f 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.654

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

Achromatopsia #d3d3d3 ≈ 0.003% of males
Achromatomaly #d6d5b8 ≈ 0.001% of males
Protanopia #e5d178 ≈ 1.01% of males
Deuteranopia #e7d583 ≈ 1.27% of males
Tritanopia #e5cec2 ≈ 0.0001% of males
Protanomaly #e0d47b ≈ 1.08% of males
Deuteranomaly #e1d681 ≈ 4.63% of males
Tritanomaly #e0d2ac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d9d87f  rgb(217, 216, 127)  hsl(59, 54%, 67%)  Straw
#7f80d9  rgb(127, 128, 217)  hsl(239, 54%, 67%)  Medium Purple
#7fd9d8  rgb(127, 217, 216)  hsl(179, 54%, 67%)  Medium Turquoise
#d87fd9  rgb(216, 127, 217)  hsl(299, 54%, 67%)  Orchid