#D4CB7B

#d4cb7b ≈ Straw

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

#d4cb7b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.14% red, 79.61% green and 48.24% blue; printed in CMYK it uses 0% cyan, 4.25% magenta, 41.98% yellow and 16.86% black. Its hue angle is 53.93°, with 50.86% saturation and 65.69% 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.63:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.04.

Description generated from the measured properties of this color.

Conversions of #d4cb7b 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.5814

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

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cdcaaf ≈ 0.001% of males
Protanopia #d8c675 ≈ 1.01% of males
Deuteranopia #dbcb7e ≈ 1.27% of males
Tritanopia #e0c1b7 ≈ 0.0001% of males
Protanomaly #d7c877 ≈ 1.08% of males
Deuteranomaly #d8cb7d ≈ 4.63% of males
Tritanomaly #dbc5a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d4cb7b  rgb(212, 203, 123)  hsl(54, 51%, 66%)  Straw
#7b84d4  rgb(123, 132, 212)  hsl(234, 51%, 66%)  Glaucous
#7bd4cb  rgb(123, 212, 203)  hsl(174, 51%, 66%)  Medium Turquoise
#cb7bd4  rgb(203, 123, 212)  hsl(294, 51%, 66%)  Orchid