#DFEC2A

#dfec2a ≈ Pear

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

#dfec2a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 92.55% green and 16.47% blue; printed in CMYK it uses 5.51% cyan, 0% magenta, 82.2% yellow and 7.45% black. Its hue angle is 64.02°, with 83.62% saturation and 54.51% 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 16.17:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.82.

Description generated from the measured properties of this color.

Conversions of #dfec2a 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.7585

Readable text 1.3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.17:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e2e2e2 ≈ 0.003% of males
Achromatomaly #e1e6b5 ≈ 0.001% of males
Protanopia #fee000 ≈ 1.01% of males
Deuteranopia #fee33f ≈ 1.27% of males
Tritanopia #eeddca ≈ 0.0001% of males
Protanomaly #f2e500 ≈ 1.08% of males
Deuteranomaly #f2e738 ≈ 4.63% of males
Tritanomaly #e8e3a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfec2a {
  color: #dfec2a;
}
Background
.bg-dfec2a {
  background-color: #dfec2a;
  color: #000000;
}
Border
.border-dfec2a {
  border: 2px solid #dfec2a;
}
CSS variables
:root {
  --color-primary: #dfec2a;
  --color-primary-rgb: 223 236 42;
  --color-primary-hsl: 64 84% 55%;
}
Gradient
.gradient-dfec2a {
  background: linear-gradient(135deg, #dfec2a, #7eec2a);
}
Colored shadow
.shadow-dfec2a {
  box-shadow: 0 8px 24px rgb(223 236 42 / 0.35);
}

Pear
#dfec2a  rgb(223, 236, 42)  hsl(64, 84%, 55%)  Pear
#372aec  rgb(55, 42, 236)  hsl(244, 84%, 55%)  Han Purple
#2adfec  rgb(42, 223, 236)  hsl(184, 84%, 55%)  Dark Turquoise
#ec2adf  rgb(236, 42, 223)  hsl(304, 84%, 55%)  Fuchsia