#D8CB5E

#d8cb5e ≈ Straw

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

#d8cb5e 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 36.86% blue; printed in CMYK it uses 0% cyan, 6.02% magenta, 56.48% yellow and 15.29% black. Its hue angle is 53.61°, with 61% saturation and 60.78% 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.62:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.36.

Description generated from the measured properties of this color.

Conversions of #d8cb5e 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.5812

Readable text 1.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cfcaa8 ≈ 0.001% of males
Protanopia #dbc553 ≈ 1.01% of males
Deuteranopia #dfcb63 ≈ 1.27% of males
Tritanopia #e7bfb3 ≈ 0.0001% of males
Protanomaly #dac858 ≈ 1.08% of males
Deuteranomaly #dccb61 ≈ 4.63% of males
Tritanomaly #e1c498 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d8cb5e  rgb(216, 203, 94)  hsl(54, 61%, 61%)  Straw
#5e6bd8  rgb(94, 107, 216)  hsl(234, 61%, 61%)  Royal Blue
#5ed8cb  rgb(94, 216, 203)  hsl(174, 61%, 61%)  Turquoise
#cb5ed8  rgb(203, 94, 216)  hsl(294, 61%, 61%)  Medium Orchid