#D2C86F

#d2c86f ≈ Straw

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#d2c86f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 78.43% green and 43.53% blue; printed in CMYK it uses 0% cyan, 4.76% magenta, 47.14% yellow and 17.65% black. Its hue angle is 53.94°, with 52.38% saturation and 62.94% 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.23:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.63.

Description generated from the measured properties of this color.

Conversions of #d2c86f 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.5616

Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #cbc7aa ≈ 0.001% of males
Protanopia #d6c367 ≈ 1.01% of males
Deuteranopia #dac873 ≈ 1.27% of males
Tritanopia #dfbdb3 ≈ 0.0001% of males
Protanomaly #d5c56b ≈ 1.08% of males
Deuteranomaly #d7c871 ≈ 4.63% of males
Tritanomaly #dac29c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2c86f {
  color: #d2c86f;
}
Background
.bg-d2c86f {
  background-color: #d2c86f;
  color: #000000;
}
Border
.border-d2c86f {
  border: 2px solid #d2c86f;
}
CSS variables
:root {
  --color-primary: #d2c86f;
  --color-primary-rgb: 210 200 111;
  --color-primary-hsl: 54 52% 63%;
}
Gradient
.gradient-d2c86f {
  background: linear-gradient(135deg, #d2c86f, #aad26f);
}
Colored shadow
.shadow-d2c86f {
  box-shadow: 0 8px 24px rgb(210 200 111 / 0.35);
}

Straw
#d2c86f  rgb(210, 200, 111)  hsl(54, 52%, 63%)  Straw
#6f79d2  rgb(111, 121, 210)  hsl(234, 52%, 63%)  Glaucous
#6fd2c8  rgb(111, 210, 200)  hsl(174, 52%, 63%)  Medium Turquoise
#c86fd2  rgb(200, 111, 210)  hsl(294, 52%, 63%)  Orchid