#D2CF5F

#d2cf5f ≈ Straw

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

#d2cf5f 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 37.25% blue; printed in CMYK it uses 0% cyan, 1.43% magenta, 54.76% yellow and 17.65% black. Its hue angle is 58.43°, with 56.1% saturation and 59.8% 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.83:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.51.

Description generated from the measured properties of this color.

Conversions of #d2cf5f 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.5915

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

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #cdccaa ≈ 0.001% of males
Protanopia #dec854 ≈ 1.01% of males
Deuteranopia #e0cc65 ≈ 1.27% of males
Tritanopia #dfc3b6 ≈ 0.0001% of males
Protanomaly #d9cb58 ≈ 1.08% of males
Deuteranomaly #dbcd63 ≈ 4.63% of males
Tritanomaly #dac89b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d2cf5f  rgb(210, 207, 95)  hsl(58, 56%, 60%)  Straw
#5f62d2  rgb(95, 98, 210)  hsl(238, 56%, 60%)  Slate Blue
#5fd2cf  rgb(95, 210, 207)  hsl(178, 56%, 60%)  Medium Turquoise
#cf5fd2  rgb(207, 95, 210)  hsl(298, 56%, 60%)  Orchid