#D2D152

#d2d152 ≈ Straw

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#d2d152 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 81.96% green and 32.16% blue; printed in CMYK it uses 0% cyan, 0.48% magenta, 60.95% yellow and 17.65% black. Its hue angle is 59.53°, with 58.72% saturation and 57.25% 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.98:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.21.

Description generated from the measured properties of this color.

Conversions of #d2d152 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.5991

Readable text 1.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #cecea8 ≈ 0.001% of males
Protanopia #e1c943 ≈ 1.01% of males
Deuteranopia #e3cd5a ≈ 1.27% of males
Tritanopia #e0c5b6 ≈ 0.0001% of males
Protanomaly #dbcc49 ≈ 1.08% of males
Deuteranomaly #dccf57 ≈ 4.63% of males
Tritanomaly #dbca98 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2d152 {
  color: #d2d152;
}
Background
.bg-d2d152 {
  background-color: #d2d152;
  color: #000000;
}
Border
.border-d2d152 {
  border: 2px solid #d2d152;
}
CSS variables
:root {
  --color-primary: #d2d152;
  --color-primary-rgb: 210 209 82;
  --color-primary-hsl: 60 59% 57%;
}
Gradient
.gradient-d2d152 {
  background: linear-gradient(135deg, #d2d152, #93d252);
}
Colored shadow
.shadow-d2d152 {
  box-shadow: 0 8px 24px rgb(210 209 82 / 0.35);
}

Straw
#d2d152  rgb(210, 209, 82)  hsl(60, 59%, 57%)  Straw
#5253d2  rgb(82, 83, 210)  hsl(240, 59%, 57%)  Iris
#52d2d1  rgb(82, 210, 209)  hsl(180, 59%, 57%)  Medium Turquoise
#d152d2  rgb(209, 82, 210)  hsl(300, 59%, 57%)  Medium Orchid