#DFEC1B

#dfec1b ≈ Pear

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

#dfec1b 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 10.59% blue; printed in CMYK it uses 5.51% cyan, 0% magenta, 88.56% yellow and 7.45% black. Its hue angle is 63.73°, with 84.62% saturation and 51.57% 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.15:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.15.

Description generated from the measured properties of this color.

Conversions of #dfec1b 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.7576

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

Achromatopsia #e2e2e2 ≈ 0.003% of males
Achromatomaly #e1e6b4 ≈ 0.001% of males
Protanopia #fee000 ≈ 1.01% of males
Deuteranopia #fee337 ≈ 1.27% of males
Tritanopia #efddc9 ≈ 0.0001% of males
Protanomaly #f2e500 ≈ 1.08% of males
Deuteranomaly #f2e72e ≈ 4.63% of males
Tritanomaly #e9e3a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfec1b {
  color: #dfec1b;
}
Background
.bg-dfec1b {
  background-color: #dfec1b;
  color: #000000;
}
Border
.border-dfec1b {
  border: 2px solid #dfec1b;
}
CSS variables
:root {
  --color-primary: #dfec1b;
  --color-primary-rgb: 223 236 27;
  --color-primary-hsl: 64 85% 52%;
}
Gradient
.gradient-dfec1b {
  background: linear-gradient(135deg, #dfec1b, #77ec1b);
}
Colored shadow
.shadow-dfec1b {
  box-shadow: 0 8px 24px rgb(223 236 27 / 0.35);
}

Pear
#dfec1b  rgb(223, 236, 27)  hsl(64, 85%, 52%)  Pear
#281bec  rgb(40, 27, 236)  hsl(244, 85%, 52%)  Blue
#1bdfec  rgb(27, 223, 236)  hsl(184, 85%, 52%)  Dark Turquoise
#ec1bdf  rgb(236, 27, 223)  hsl(304, 85%, 52%)  Fuchsia