#D8CB59

#d8cb59 ≈ Straw

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

#d8cb59 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 84.71% red, 79.61% green and 34.9% blue; printed in CMYK it uses 0% cyan, 6.02% magenta, 58.8% yellow and 15.29% black. Its hue angle is 53.86°, with 61.95% saturation and 59.8% 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 12.61:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.55.

Description generated from the measured properties of this color.

Conversions of #d8cb59 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.5803

Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cfc9a7 ≈ 0.001% of males
Protanopia #dcc54d ≈ 1.01% of males
Deuteranopia #e0cb5f ≈ 1.27% of males
Tritanopia #e7beb2 ≈ 0.0001% of males
Protanomaly #dac752 ≈ 1.08% of males
Deuteranomaly #ddcb5d ≈ 4.63% of males
Tritanomaly #e1c497 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d8cb59  rgb(216, 203, 89)  hsl(54, 62%, 60%)  Straw
#5966d8  rgb(89, 102, 216)  hsl(234, 62%, 60%)  Royal Blue
#59d8cb  rgb(89, 216, 203)  hsl(174, 62%, 60%)  Turquoise
#cb59d8  rgb(203, 89, 216)  hsl(294, 62%, 60%)  Medium Orchid