#D2CB47

#d2cb47 ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#d2cb47 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 79.61% green and 27.84% blue; printed in CMYK it uses 0% cyan, 3.33% magenta, 66.19% yellow and 17.65% black. Its hue angle is 56.98°, with 60.7% saturation and 55.1% 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.37:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.87.

Description generated from the measured properties of this color.

Conversions of #d2cb47 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5687

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

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #cbc8a3 ≈ 0.001% of males
Protanopia #dcc435 ≈ 1.01% of males
Deuteranopia #dfc94f ≈ 1.27% of males
Tritanopia #e1beb0 ≈ 0.0001% of males
Protanomaly #d8c73d ≈ 1.08% of males
Deuteranomaly #daca4c ≈ 4.63% of males
Tritanomaly #dbc392 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2cb47 {
  color: #d2cb47;
}
Background
.bg-d2cb47 {
  background-color: #d2cb47;
  color: #000000;
}
Border
.border-d2cb47 {
  border: 2px solid #d2cb47;
}
CSS variables
:root {
  --color-primary: #d2cb47;
  --color-primary-rgb: 210 203 71;
  --color-primary-hsl: 57 61% 55%;
}
Gradient
.gradient-d2cb47 {
  background: linear-gradient(135deg, #d2cb47, #94d247);
}
Colored shadow
.shadow-d2cb47 {
  box-shadow: 0 8px 24px rgb(210 203 71 / 0.35);
}

Straw
#d2cb47  rgb(210, 203, 71)  hsl(57, 61%, 55%)  Straw
#474ed2  rgb(71, 78, 210)  hsl(237, 61%, 55%)  Iris
#47d2cb  rgb(71, 210, 203)  hsl(177, 61%, 55%)  Medium Turquoise
#cb47d2  rgb(203, 71, 210)  hsl(297, 61%, 55%)  Medium Orchid