#D2D52A

#d2d52a ≈ Pear

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

#d2d52a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 83.53% green and 16.47% blue; printed in CMYK it uses 1.41% cyan, 0% magenta, 80.28% yellow and 16.47% black. Its hue angle is 61.05°, with 67.06% saturation and 50% 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 13.29:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.8.

Description generated from the measured properties of this color.

Conversions of #d2d52a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.6146

Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cecece ≈ 0.003% of males
Achromatomaly #cfd1a5 ≈ 0.001% of males
Protanopia #e6cb00 ≈ 1.01% of males
Deuteranopia #e8d03b ≈ 1.27% of males
Tritanopia #e1c7b6 ≈ 0.0001% of males
Protanomaly #decf0a ≈ 1.08% of males
Deuteranomaly #dfd235 ≈ 4.63% of males
Tritanomaly #dbcd93 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2d52a {
  color: #d2d52a;
}
Background
.bg-d2d52a {
  background-color: #d2d52a;
  color: #000000;
}
Border
.border-d2d52a {
  border: 2px solid #d2d52a;
}
CSS variables
:root {
  --color-primary: #d2d52a;
  --color-primary-rgb: 210 213 42;
  --color-primary-hsl: 61 67% 50%;
}
Gradient
.gradient-d2d52a {
  background: linear-gradient(135deg, #d2d52a, #7dd52a);
}
Colored shadow
.shadow-d2d52a {
  box-shadow: 0 8px 24px rgb(210 213 42 / 0.35);
}

Pear
#d2d52a  rgb(210, 213, 42)  hsl(61, 67%, 50%)  Pear
#2d2ad5  rgb(45, 42, 213)  hsl(241, 67%, 50%)  Blue
#2ad2d5  rgb(42, 210, 213)  hsl(181, 67%, 50%)  Dark Turquoise
#d52ad2  rgb(213, 42, 210)  hsl(301, 67%, 50%)  Medium Orchid