#D2CA57

#d2ca57 ≈ Straw

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

#d2ca57 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 34.12% blue; printed in CMYK it uses 0% cyan, 3.81% magenta, 58.57% yellow and 17.65% black. Its hue angle is 56.1°, with 57.75% saturation and 58.24% 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.33:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.04.

Description generated from the measured properties of this color.

Conversions of #d2ca57 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.5663

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

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #cbc8a5 ≈ 0.001% of males
Protanopia #dac34a ≈ 1.01% of males
Deuteranopia #ddc95d ≈ 1.27% of males
Tritanopia #e0beb1 ≈ 0.0001% of males
Protanomaly #d7c650 ≈ 1.08% of males
Deuteranomaly #d9c95b ≈ 4.63% of males
Tritanomaly #dbc395 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d2ca57  rgb(210, 202, 87)  hsl(56, 58%, 58%)  Straw
#575fd2  rgb(87, 95, 210)  hsl(236, 58%, 58%)  Slate Blue
#57d2ca  rgb(87, 210, 202)  hsl(176, 58%, 58%)  Medium Turquoise
#ca57d2  rgb(202, 87, 210)  hsl(296, 58%, 58%)  Medium Orchid