#D2D142

#d2d142 ≈ Pear

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

#d2d142 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 25.88% blue; printed in CMYK it uses 0% cyan, 0.48% magenta, 68.57% yellow and 17.65% black. Its hue angle is 59.58°, with 61.54% saturation and 54.12% 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.94:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 5.18.

Description generated from the measured properties of this color.

Conversions of #d2d142 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.597

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

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #cecda6 ≈ 0.001% of males
Protanopia #e2c82b ≈ 1.01% of males
Deuteranopia #e4cd4c ≈ 1.27% of males
Tritanopia #e1c4b5 ≈ 0.0001% of males
Protanomaly #dccc36 ≈ 1.08% of males
Deuteranomaly #ddcf48 ≈ 4.63% of males
Tritanomaly #dbc994 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pear
#d2d142  rgb(210, 209, 66)  hsl(60, 62%, 54%)  Pear
#4243d2  rgb(66, 67, 210)  hsl(240, 62%, 54%)  Ocean Blue
#42d2d1  rgb(66, 210, 209)  hsl(180, 62%, 54%)  Medium Turquoise
#d142d2  rgb(209, 66, 210)  hsl(300, 62%, 54%)  Medium Orchid