#D2EC1C

#d2ec1c ≈ Pear

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

#d2ec1c is a color from the yellow-green family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 92.55% green and 10.98% blue; printed in CMYK it uses 11.02% cyan, 0% magenta, 88.14% yellow and 7.45% black. Its hue angle is 67.5°, with 84.55% saturation and 51.76% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and call-to-action buttons. Black text on this color reaches a contrast ratio of 15.76:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.66.

Description generated from the measured properties of this color.

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

Readable text 1.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dfdfdf ≈ 0.003% of males
Achromatomaly #dae4b2 ≈ 0.001% of males
Protanopia #fddf00 ≈ 1.01% of males
Deuteranopia #fae038 ≈ 1.27% of males
Tritanopia #e0dec9 ≈ 0.0001% of males
Protanomaly #ede400 ≈ 1.08% of males
Deuteranomaly #ebe52f ≈ 4.63% of males
Tritanomaly #dae4a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2ec1c {
  color: #d2ec1c;
}
Background
.bg-d2ec1c {
  background-color: #d2ec1c;
  color: #000000;
}
Border
.border-d2ec1c {
  border: 2px solid #d2ec1c;
}
CSS variables
:root {
  --color-primary: #d2ec1c;
  --color-primary-rgb: 210 236 28;
  --color-primary-hsl: 68 85% 52%;
}
Gradient
.gradient-d2ec1c {
  background: linear-gradient(135deg, #d2ec1c, #6aec1c);
}
Colored shadow
.shadow-d2ec1c {
  box-shadow: 0 8px 24px rgb(210 236 28 / 0.35);
}

Pear
#d2ec1c  rgb(210, 236, 28)  hsl(68, 85%, 52%)  Pear
#361cec  rgb(54, 28, 236)  hsl(248, 85%, 52%)  Ultramarine
#1cd2ec  rgb(28, 210, 236)  hsl(188, 85%, 52%)  Dark Turquoise
#ec1cd2  rgb(236, 28, 210)  hsl(308, 85%, 52%)  Shocking Pink