#D7DC2D

#d7dc2d ≈ Pear

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

#d7dc2d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 86.27% green and 17.65% blue; printed in CMYK it uses 2.27% cyan, 0% magenta, 79.55% yellow and 13.73% black. Its hue angle is 61.71°, with 71.43% saturation and 51.96% 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 14.16:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.66.

Description generated from the measured properties of this color.

Conversions of #d7dc2d 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.6582

Readable text 1.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d4d4d4 ≈ 0.003% of males
Achromatomaly #d5d7ab ≈ 0.001% of males
Protanopia #eed200 ≈ 1.01% of males
Deuteranopia #efd63e ≈ 1.27% of males
Tritanopia #e6cebd ≈ 0.0001% of males
Protanomaly #e5d60f ≈ 1.08% of males
Deuteranomaly #e6d838 ≈ 4.63% of males
Tritanomaly #e0d498 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7dc2d {
  color: #d7dc2d;
}
Background
.bg-d7dc2d {
  background-color: #d7dc2d;
  color: #000000;
}
Border
.border-d7dc2d {
  border: 2px solid #d7dc2d;
}
CSS variables
:root {
  --color-primary: #d7dc2d;
  --color-primary-rgb: 215 220 45;
  --color-primary-hsl: 62 71% 52%;
}
Gradient
.gradient-d7dc2d {
  background: linear-gradient(135deg, #d7dc2d, #80dc2d);
}
Colored shadow
.shadow-d7dc2d {
  box-shadow: 0 8px 24px rgb(215 220 45 / 0.35);
}

Pear
#d7dc2d  rgb(215, 220, 45)  hsl(62, 71%, 52%)  Pear
#322ddc  rgb(50, 45, 220)  hsl(242, 71%, 52%)  Blue
#2dd7dc  rgb(45, 215, 220)  hsl(182, 71%, 52%)  Dark Turquoise
#dc2dd7  rgb(220, 45, 215)  hsl(302, 71%, 52%)  Medium Orchid