#D7CA5A

#d7ca5a ≈ Straw

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

#d7ca5a 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.22% green and 35.29% blue; printed in CMYK it uses 0% cyan, 6.05% magenta, 58.14% yellow and 15.69% black. Its hue angle is 53.76°, with 60.98% 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.49:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.7.

Description generated from the measured properties of this color.

Conversions of #d7ca5a 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.5743

Readable text 1.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #cec8a7 ≈ 0.001% of males
Protanopia #dac44e ≈ 1.01% of males
Deuteranopia #dfca60 ≈ 1.27% of males
Tritanopia #e6bdb2 ≈ 0.0001% of males
Protanomaly #d9c653 ≈ 1.08% of males
Deuteranomaly #dcca5e ≈ 4.63% of males
Tritanomaly #e0c396 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d7ca5a  rgb(215, 202, 90)  hsl(54, 61%, 60%)  Straw
#5a67d7  rgb(90, 103, 215)  hsl(234, 61%, 60%)  Royal Blue
#5ad7ca  rgb(90, 215, 202)  hsl(174, 61%, 60%)  Turquoise
#ca5ad7  rgb(202, 90, 215)  hsl(294, 61%, 60%)  Medium Orchid