#D8D45F

#d8d45f ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#d8d45f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 84.71% red, 83.14% green and 37.25% blue; printed in CMYK it uses 0% cyan, 1.85% magenta, 56.02% yellow and 15.29% black. Its hue angle is 58.02°, with 60.8% saturation and 60.98% 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.5:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.69.

Description generated from the measured properties of this color.

Conversions of #d8d45f 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.6251

Readable text 1.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cfcfcf ≈ 0.003% of males
Achromatomaly #d3d1ae ≈ 0.001% of males
Protanopia #e4cd53 ≈ 1.01% of males
Deuteranopia #e6d165 ≈ 1.27% of males
Tritanopia #e6c8ba ≈ 0.0001% of males
Protanomaly #dfd058 ≈ 1.08% of males
Deuteranomaly #e1d263 ≈ 4.63% of males
Tritanomaly #e1cd9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8d45f {
  color: #d8d45f;
}
Background
.bg-d8d45f {
  background-color: #d8d45f;
  color: #000000;
}
Border
.border-d8d45f {
  border: 2px solid #d8d45f;
}
CSS variables
:root {
  --color-primary: #d8d45f;
  --color-primary-rgb: 216 212 95;
  --color-primary-hsl: 58 61% 61%;
}
Gradient
.gradient-d8d45f {
  background: linear-gradient(135deg, #d8d45f, #9fd85f);
}
Colored shadow
.shadow-d8d45f {
  box-shadow: 0 8px 24px rgb(216 212 95 / 0.35);
}

Straw
#d8d45f  rgb(216, 212, 95)  hsl(58, 61%, 61%)  Straw
#5f63d8  rgb(95, 99, 216)  hsl(238, 61%, 61%)  Slate Blue
#5fd8d4  rgb(95, 216, 212)  hsl(178, 61%, 61%)  Medium Turquoise
#d45fd8  rgb(212, 95, 216)  hsl(298, 61%, 61%)  Orchid