#D2CD5F

#d2cd5f ≈ Straw

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

#d2cd5f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 82.35% red, 80.39% green and 37.25% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 54.76% yellow and 17.65% black. Its hue angle is 57.39°, 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.64:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.54.

Description generated from the measured properties of this color.

Conversions of #d2cd5f 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.5819

Readable text 1.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cccaa9 ≈ 0.001% of males
Protanopia #dcc654 ≈ 1.01% of males
Deuteranopia #dfcb65 ≈ 1.27% of males
Tritanopia #e0c1b5 ≈ 0.0001% of males
Protanomaly #d8c959 ≈ 1.08% of males
Deuteranomaly #dacc63 ≈ 4.63% of males
Tritanomaly #dac69a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d2cd5f  rgb(210, 205, 95)  hsl(57, 56%, 60%)  Straw
#5f64d2  rgb(95, 100, 210)  hsl(237, 56%, 60%)  Slate Blue
#5fd2cd  rgb(95, 210, 205)  hsl(177, 56%, 60%)  Medium Turquoise
#cd5fd2  rgb(205, 95, 210)  hsl(297, 56%, 60%)  Orchid