#D7DA2E

#d7da2e ≈ Pear

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

#d7da2e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 85.49% green and 18.04% blue; printed in CMYK it uses 1.38% cyan, 0% magenta, 78.9% yellow and 14.51% black. Its hue angle is 61.05°, with 69.92% saturation and 51.76% 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.96:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.18.

Description generated from the measured properties of this color.

Conversions of #d7da2e 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.6479

Readable text 1.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d2d2d2 ≈ 0.003% of males
Achromatomaly #d4d6aa ≈ 0.001% of males
Protanopia #ecd000 ≈ 1.01% of males
Deuteranopia #edd53e ≈ 1.27% of males
Tritanopia #e6ccbb ≈ 0.0001% of males
Protanomaly #e4d413 ≈ 1.08% of males
Deuteranomaly #e5d738 ≈ 4.63% of males
Tritanomaly #e0d297 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7da2e {
  color: #d7da2e;
}
Background
.bg-d7da2e {
  background-color: #d7da2e;
  color: #000000;
}
Border
.border-d7da2e {
  border: 2px solid #d7da2e;
}
CSS variables
:root {
  --color-primary: #d7da2e;
  --color-primary-rgb: 215 218 46;
  --color-primary-hsl: 61 70% 52%;
}
Gradient
.gradient-d7da2e {
  background: linear-gradient(135deg, #d7da2e, #81da2e);
}
Colored shadow
.shadow-d7da2e {
  box-shadow: 0 8px 24px rgb(215 218 46 / 0.35);
}

Pear
#d7da2e  rgb(215, 218, 46)  hsl(61, 70%, 52%)  Pear
#312eda  rgb(49, 46, 218)  hsl(241, 70%, 52%)  Blue
#2ed7da  rgb(46, 215, 218)  hsl(181, 70%, 52%)  Dark Turquoise
#da2ed7  rgb(218, 46, 215)  hsl(301, 70%, 52%)  Medium Orchid