#D8D545

#d8d545 ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#d8d545 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 83.53% green and 27.06% blue; printed in CMYK it uses 0% cyan, 1.39% magenta, 68.06% yellow and 15.29% black. Its hue angle is 58.78°, with 65.33% saturation and 55.88% 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.52:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.74.

Description generated from the measured properties of this color.

Conversions of #d8d545 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.6262

Readable text 1.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cfcfcf ≈ 0.003% of males
Achromatomaly #d3d2aa ≈ 0.001% of males
Protanopia #e6cd2f ≈ 1.01% of males
Deuteranopia #e9d24f ≈ 1.27% of males
Tritanopia #e7c7b8 ≈ 0.0001% of males
Protanomaly #e1d039 ≈ 1.08% of males
Deuteranomaly #e2d34b ≈ 4.63% of males
Tritanomaly #e1cd98 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8d545 {
  color: #d8d545;
}
Background
.bg-d8d545 {
  background-color: #d8d545;
  color: #000000;
}
Border
.border-d8d545 {
  border: 2px solid #d8d545;
}
CSS variables
:root {
  --color-primary: #d8d545;
  --color-primary-rgb: 216 213 69;
  --color-primary-hsl: 59 65% 56%;
}
Gradient
.gradient-d8d545 {
  background: linear-gradient(135deg, #d8d545, #91d845);
}
Colored shadow
.shadow-d8d545 {
  box-shadow: 0 8px 24px rgb(216 213 69 / 0.35);
}

Straw
#d8d545  rgb(216, 213, 69)  hsl(59, 65%, 56%)  Straw
#4548d8  rgb(69, 72, 216)  hsl(239, 65%, 56%)  Iris
#45d8d5  rgb(69, 216, 213)  hsl(179, 65%, 56%)  Medium Turquoise
#d545d8  rgb(213, 69, 216)  hsl(299, 65%, 56%)  Medium Orchid