#D2CF56

#d2cf56 ≈ Straw

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

#d2cf56 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 82.35% red, 81.18% green and 33.73% blue; printed in CMYK it uses 0% cyan, 1.43% magenta, 59.05% yellow and 17.65% black. Its hue angle is 58.55°, with 57.94% saturation and 58.04% 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.8:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.88.

Description generated from the measured properties of this color.

Conversions of #d2cf56 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.59

Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.8:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #cdcca8 ≈ 0.001% of males
Protanopia #dfc748 ≈ 1.01% of males
Deuteranopia #e1cc5d ≈ 1.27% of males
Tritanopia #e0c3b5 ≈ 0.0001% of males
Protanomaly #daca4e ≈ 1.08% of males
Deuteranomaly #dbcd5a ≈ 4.63% of males
Tritanomaly #dac898 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2cf56 {
  color: #d2cf56;
}
Background
.bg-d2cf56 {
  background-color: #d2cf56;
  color: #000000;
}
Border
.border-d2cf56 {
  border: 2px solid #d2cf56;
}
CSS variables
:root {
  --color-primary: #d2cf56;
  --color-primary-rgb: 210 207 86;
  --color-primary-hsl: 59 58% 58%;
}
Gradient
.gradient-d2cf56 {
  background: linear-gradient(135deg, #d2cf56, #97d256);
}
Colored shadow
.shadow-d2cf56 {
  box-shadow: 0 8px 24px rgb(210 207 86 / 0.35);
}

Straw
#d2cf56  rgb(210, 207, 86)  hsl(59, 58%, 58%)  Straw
#5659d2  rgb(86, 89, 210)  hsl(239, 58%, 58%)  Iris
#56d2cf  rgb(86, 210, 207)  hsl(179, 58%, 58%)  Medium Turquoise
#cf56d2  rgb(207, 86, 210)  hsl(299, 58%, 58%)  Medium Orchid