#D7D178

#d7d178 ≈ Straw

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

#d7d178 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.31% red, 81.96% green and 47.06% blue; printed in CMYK it uses 0% cyan, 2.79% magenta, 44.19% yellow and 15.69% black. Its hue angle is 56.21°, with 54.29% saturation and 65.69% 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 13.28:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.45.

Description generated from the measured properties of this color.

Conversions of #d7d178 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.614

Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cecece ≈ 0.003% of males
Achromatomaly #d1cfb2 ≈ 0.001% of males
Protanopia #dfcb71 ≈ 1.01% of males
Deuteranopia #e1d07c ≈ 1.27% of males
Tritanopia #e3c7bc ≈ 0.0001% of males
Protanomaly #dccd74 ≈ 1.08% of males
Deuteranomaly #ddd07a ≈ 4.63% of males
Tritanomaly #dfcba5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7d178 {
  color: #d7d178;
}
Background
.bg-d7d178 {
  background-color: #d7d178;
  color: #000000;
}
Border
.border-d7d178 {
  border: 2px solid #d7d178;
}
CSS variables
:root {
  --color-primary: #d7d178;
  --color-primary-rgb: 215 209 120;
  --color-primary-hsl: 56 54% 66%;
}
Gradient
.gradient-d7d178 {
  background: linear-gradient(135deg, #d7d178, #aed778);
}
Colored shadow
.shadow-d7d178 {
  box-shadow: 0 8px 24px rgb(215 209 120 / 0.35);
}

Straw
#d7d178  rgb(215, 209, 120)  hsl(56, 54%, 66%)  Straw
#787ed7  rgb(120, 126, 215)  hsl(236, 54%, 66%)  Glaucous
#78d7d1  rgb(120, 215, 209)  hsl(176, 54%, 66%)  Medium Turquoise
#d178d7  rgb(209, 120, 215)  hsl(296, 54%, 66%)  Orchid