#D2CE5A

#d2ce5a ≈ Straw

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

#d2ce5a 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.78% green and 35.29% blue; printed in CMYK it uses 0% cyan, 1.9% magenta, 57.14% yellow and 17.65% black. Its hue angle is 58°, with 57.14% saturation and 58.82% 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.72:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.68.

Description generated from the measured properties of this color.

Conversions of #d2ce5a 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.5858

Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cdcba8 ≈ 0.001% of males
Protanopia #dec74e ≈ 1.01% of males
Deuteranopia #e0cb60 ≈ 1.27% of males
Tritanopia #e0c2b5 ≈ 0.0001% of males
Protanomaly #d9ca53 ≈ 1.08% of males
Deuteranomaly #dacc5e ≈ 4.63% of males
Tritanomaly #dac799 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Straw
#d2ce5a  rgb(210, 206, 90)  hsl(58, 57%, 59%)  Straw
#5a5ed2  rgb(90, 94, 210)  hsl(238, 57%, 59%)  Slate Blue
#5ad2ce  rgb(90, 210, 206)  hsl(178, 57%, 59%)  Medium Turquoise
#ce5ad2  rgb(206, 90, 210)  hsl(298, 57%, 59%)  Medium Orchid