#D2DE12

#d2de12 ≈ Pear

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#d2de12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 87.06% green and 7.06% blue; printed in CMYK it uses 5.41% cyan, 0% magenta, 91.89% yellow and 12.94% black. Its hue angle is 63.53°, with 85% saturation and 47.06% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 14.2:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 1.93.

Description generated from the measured properties of this color.

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

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

Achromatopsia #d4d4d4 ≈ 0.003% of males
Achromatomaly #d3d8a9 ≈ 0.001% of males
Protanopia #efd300 ≈ 1.01% of males
Deuteranopia #efd630 ≈ 1.27% of males
Tritanopia #e1d0bd ≈ 0.0001% of males
Protanomaly #e4d700 ≈ 1.08% of males
Deuteranomaly #e4d927 ≈ 4.63% of males
Tritanomaly #dbd697 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2de12 {
  color: #d2de12;
}
Background
.bg-d2de12 {
  background-color: #d2de12;
  color: #000000;
}
Border
.border-d2de12 {
  border: 2px solid #d2de12;
}
CSS variables
:root {
  --color-primary: #d2de12;
  --color-primary-rgb: 210 222 18;
  --color-primary-hsl: 64 85% 47%;
}
Gradient
.gradient-d2de12 {
  background: linear-gradient(135deg, #d2de12, #6cde12);
}
Colored shadow
.shadow-d2de12 {
  box-shadow: 0 8px 24px rgb(210 222 18 / 0.35);
}

Pear
#d2de12  rgb(210, 222, 18)  hsl(64, 85%, 47%)  Pear
#1e12de  rgb(30, 18, 222)  hsl(244, 85%, 47%)  Medium Blue
#12d2de  rgb(18, 210, 222)  hsl(184, 85%, 47%)  Dark Turquoise
#de12d2  rgb(222, 18, 210)  hsl(304, 85%, 47%)  Medium Orchid