#D5CB7B

#d5cb7b ≈ Straw

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

#d5cb7b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.53% red, 79.61% green and 48.24% blue; printed in CMYK it uses 0% cyan, 4.69% magenta, 42.25% yellow and 16.47% black. Its hue angle is 53.33°, with 51.72% saturation and 65.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 12.66:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.98.

Description generated from the measured properties of this color.

Conversions of #d5cb7b 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.5829

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

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cecaaf ≈ 0.001% of males
Protanopia #d8c675 ≈ 1.01% of males
Deuteranopia #dccb7e ≈ 1.27% of males
Tritanopia #e1c1b7 ≈ 0.0001% of males
Protanomaly #d7c877 ≈ 1.08% of males
Deuteranomaly #d9cb7d ≈ 4.63% of males
Tritanomaly #dcc5a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d5cb7b {
  color: #d5cb7b;
}
Background
.bg-d5cb7b {
  background-color: #d5cb7b;
  color: #000000;
}
Border
.border-d5cb7b {
  border: 2px solid #d5cb7b;
}
CSS variables
:root {
  --color-primary: #d5cb7b;
  --color-primary-rgb: 213 203 123;
  --color-primary-hsl: 53 52% 66%;
}
Gradient
.gradient-d5cb7b {
  background: linear-gradient(135deg, #d5cb7b, #b2d57b);
}
Colored shadow
.shadow-d5cb7b {
  box-shadow: 0 8px 24px rgb(213 203 123 / 0.35);
}

Straw
#d5cb7b  rgb(213, 203, 123)  hsl(53, 52%, 66%)  Straw
#7b85d5  rgb(123, 133, 213)  hsl(233, 52%, 66%)  Glaucous
#7bd5cb  rgb(123, 213, 203)  hsl(173, 52%, 66%)  Medium Turquoise
#cb7bd5  rgb(203, 123, 213)  hsl(293, 52%, 66%)  Orchid