#D2CA5A

#d2ca5a ≈ Straw

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

#d2ca5a is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 82.35% red, 79.22% green and 35.29% blue; printed in CMYK it uses 0% cyan, 3.81% magenta, 57.14% yellow and 17.65% black. Its hue angle is 56°, with 57.14% saturation and 58.82% 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.34:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.92.

Description generated from the measured properties of this color.

Conversions of #d2ca5a 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.5668

Readable text 1.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #cbc8a6 ≈ 0.001% of males
Protanopia #dac34e ≈ 1.01% of males
Deuteranopia #ddc960 ≈ 1.27% of males
Tritanopia #e0beb2 ≈ 0.0001% of males
Protanomaly #d7c653 ≈ 1.08% of males
Deuteranomaly #d9c95e ≈ 4.63% of males
Tritanomaly #dbc396 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2ca5a {
  color: #d2ca5a;
}
Background
.bg-d2ca5a {
  background-color: #d2ca5a;
  color: #000000;
}
Border
.border-d2ca5a {
  border: 2px solid #d2ca5a;
}
CSS variables
:root {
  --color-primary: #d2ca5a;
  --color-primary-rgb: 210 202 90;
  --color-primary-hsl: 56 57% 59%;
}
Gradient
.gradient-d2ca5a {
  background: linear-gradient(135deg, #d2ca5a, #9ed25a);
}
Colored shadow
.shadow-d2ca5a {
  box-shadow: 0 8px 24px rgb(210 202 90 / 0.35);
}

Straw
#d2ca5a  rgb(210, 202, 90)  hsl(56, 57%, 59%)  Straw
#5a62d2  rgb(90, 98, 210)  hsl(236, 57%, 59%)  Slate Blue
#5ad2ca  rgb(90, 210, 202)  hsl(176, 57%, 59%)  Medium Turquoise
#ca5ad2  rgb(202, 90, 210)  hsl(296, 57%, 59%)  Medium Orchid