#D7CB5F

#d7cb5f ≈ Straw

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

#d7cb5f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 84.31% red, 79.61% green and 37.25% blue; printed in CMYK it uses 0% cyan, 5.58% magenta, 55.81% yellow and 15.69% black. Its hue angle is 54°, with 60% 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.6:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.34.

Description generated from the measured properties of this color.

Conversions of #d7cb5f 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.5799

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

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cec9a8 ≈ 0.001% of males
Protanopia #dbc554 ≈ 1.01% of males
Deuteranopia #dfcb64 ≈ 1.27% of males
Tritanopia #e5bfb3 ≈ 0.0001% of males
Protanomaly #d9c759 ≈ 1.08% of males
Deuteranomaly #dccb62 ≈ 4.63% of males
Tritanomaly #e0c499 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d7cb5f  rgb(215, 203, 95)  hsl(54, 60%, 61%)  Straw
#5f6bd7  rgb(95, 107, 215)  hsl(234, 60%, 61%)  Royal Blue
#5fd7cb  rgb(95, 215, 203)  hsl(174, 60%, 61%)  Medium Turquoise
#cb5fd7  rgb(203, 95, 215)  hsl(294, 60%, 61%)  Medium Orchid