#D8CA5F

#d8ca5f ≈ Straw

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

#d8ca5f 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.22% green and 37.25% blue; printed in CMYK it uses 0% cyan, 6.48% magenta, 56.02% yellow and 15.29% black. Its hue angle is 53.06°, with 60.8% saturation and 60.98% 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.53:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.57.

Description generated from the measured properties of this color.

Conversions of #d8ca5f 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.5767

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

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #cfc9a8 ≈ 0.001% of males
Protanopia #dac454 ≈ 1.01% of males
Deuteranopia #dfcb64 ≈ 1.27% of males
Tritanopia #e7beb2 ≈ 0.0001% of males
Protanomaly #d9c759 ≈ 1.08% of males
Deuteranomaly #dcca62 ≈ 4.63% of males
Tritanomaly #e1c398 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d8ca5f  rgb(216, 202, 95)  hsl(53, 61%, 61%)  Straw
#5f6dd8  rgb(95, 109, 216)  hsl(233, 61%, 61%)  Royal Blue
#5fd8ca  rgb(95, 216, 202)  hsl(173, 61%, 61%)  Turquoise
#ca5fd8  rgb(202, 95, 216)  hsl(293, 61%, 61%)  Medium Orchid