#D7DF2C

#d7df2c ≈ Pear

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

#d7df2c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 87.45% green and 17.25% blue; printed in CMYK it uses 3.59% cyan, 0% magenta, 80.27% yellow and 12.55% black. Its hue angle is 62.68°, with 73.66% saturation and 52.35% 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.48:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 1.96.

Description generated from the measured properties of this color.

Conversions of #d7df2c 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.674

Readable text 1.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d6d6d6 ≈ 0.003% of males
Achromatomaly #d7daac ≈ 0.001% of males
Protanopia #f0d400 ≈ 1.01% of males
Deuteranopia #f1d83e ≈ 1.27% of males
Tritanopia #e6d1bf ≈ 0.0001% of males
Protanomaly #e7d90a ≈ 1.08% of males
Deuteranomaly #e7db38 ≈ 4.63% of males
Tritanomaly #e0d79a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7df2c {
  color: #d7df2c;
}
Background
.bg-d7df2c {
  background-color: #d7df2c;
  color: #000000;
}
Border
.border-d7df2c {
  border: 2px solid #d7df2c;
}
CSS variables
:root {
  --color-primary: #d7df2c;
  --color-primary-rgb: 215 223 44;
  --color-primary-hsl: 63 74% 52%;
}
Gradient
.gradient-d7df2c {
  background: linear-gradient(135deg, #d7df2c, #7ddf2c);
}
Colored shadow
.shadow-d7df2c {
  box-shadow: 0 8px 24px rgb(215 223 44 / 0.35);
}

Pear
#d7df2c  rgb(215, 223, 44)  hsl(63, 74%, 52%)  Pear
#342cdf  rgb(52, 44, 223)  hsl(243, 74%, 52%)  Blue
#2cd7df  rgb(44, 215, 223)  hsl(183, 74%, 52%)  Dark Turquoise
#df2cd7  rgb(223, 44, 215)  hsl(303, 74%, 52%)  Medium Orchid