#D4E040

#d4e040 ≈ Pear

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

#d4e040 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 87.84% green and 25.1% blue; printed in CMYK it uses 5.36% cyan, 0% magenta, 71.43% yellow and 12.16% black. Its hue angle is 64.5°, with 72.07% saturation and 56.47% 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 brand accents. Black text on this color reaches a contrast ratio of 14.54:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 1.34.

Description generated from the measured properties of this color.

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

Readable text 1.44:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d7d7d7 ≈ 0.003% of males
Achromatomaly #d6daaf ≈ 0.001% of males
Protanopia #f0d521 ≈ 1.01% of males
Deuteranopia #f0d84d ≈ 1.27% of males
Tritanopia #e2d3c1 ≈ 0.0001% of males
Protanomaly #e6da30 ≈ 1.08% of males
Deuteranomaly #e5db48 ≈ 4.63% of males
Tritanomaly #ddd89e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d4e040 {
  color: #d4e040;
}
Background
.bg-d4e040 {
  background-color: #d4e040;
  color: #000000;
}
Border
.border-d4e040 {
  border: 2px solid #d4e040;
}
CSS variables
:root {
  --color-primary: #d4e040;
  --color-primary-rgb: 212 224 64;
  --color-primary-hsl: 65 72% 56%;
}
Gradient
.gradient-d4e040 {
  background: linear-gradient(135deg, #d4e040, #84e040);
}
Colored shadow
.shadow-d4e040 {
  box-shadow: 0 8px 24px rgb(212 224 64 / 0.35);
}

Pear
#d4e040  rgb(212, 224, 64)  hsl(65, 72%, 56%)  Pear
#4c40e0  rgb(76, 64, 224)  hsl(245, 72%, 56%)  Iris
#40d4e0  rgb(64, 212, 224)  hsl(185, 72%, 56%)  Dark Turquoise
#e040d4  rgb(224, 64, 212)  hsl(305, 72%, 56%)  Shocking Pink