#DFEC2F

#dfec2f ≈ Pear

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

#dfec2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 92.55% green and 18.43% blue; printed in CMYK it uses 5.51% cyan, 0% magenta, 80.08% yellow and 7.45% black. Its hue angle is 64.13°, with 83.26% saturation and 55.49% 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.18:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.71.

Description generated from the measured properties of this color.

Conversions of #dfec2f 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.7588

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

Achromatopsia #e2e2e2 ≈ 0.003% of males
Achromatomaly #e1e6b6 ≈ 0.001% of males
Protanopia #fee000 ≈ 1.01% of males
Deuteranopia #fde442 ≈ 1.27% of males
Tritanopia #eedeca ≈ 0.0001% of males
Protanomaly #f2e50b ≈ 1.08% of males
Deuteranomaly #f2e73b ≈ 4.63% of males
Tritanomaly #e8e3a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pear
#dfec2f  rgb(223, 236, 47)  hsl(64, 83%, 55%)  Pear
#3c2fec  rgb(60, 47, 236)  hsl(244, 83%, 55%)  Han Purple
#2fdfec  rgb(47, 223, 236)  hsl(184, 83%, 55%)  Dark Turquoise
#ec2fdf  rgb(236, 47, 223)  hsl(304, 83%, 55%)  Fuchsia