#D4D42E

#d4d42e ≈ Pear

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

#d4d42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 83.14% green and 18.04% blue; printed in CMYK it uses 0% cyan, 0% magenta, 78.3% yellow and 16.86% black. Its hue angle is 60°, with 65.87% saturation and 50.59% 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 13.26:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.37.

Description generated from the measured properties of this color.

Conversions of #d4d42e 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.6128

Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cdcdcd ≈ 0.003% of males
Achromatomaly #d0d0a5 ≈ 0.001% of males
Protanopia #e6cb00 ≈ 1.01% of males
Deuteranopia #e7d03d ≈ 1.27% of males
Tritanopia #e3c6b6 ≈ 0.0001% of males
Protanomaly #dfcf15 ≈ 1.08% of males
Deuteranomaly #e0d138 ≈ 4.63% of males
Tritanomaly #ddcc93 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d4d42e {
  color: #d4d42e;
}
Background
.bg-d4d42e {
  background-color: #d4d42e;
  color: #000000;
}
Border
.border-d4d42e {
  border: 2px solid #d4d42e;
}
CSS variables
:root {
  --color-primary: #d4d42e;
  --color-primary-rgb: 212 212 46;
  --color-primary-hsl: 60 66% 51%;
}
Gradient
.gradient-d4d42e {
  background: linear-gradient(135deg, #d4d42e, #81d42e);
}
Colored shadow
.shadow-d4d42e {
  box-shadow: 0 8px 24px rgb(212 212 46 / 0.35);
}

Pear
#d4d42e  rgb(212, 212, 46)  hsl(60, 66%, 51%)  Pear
#2e2ed4  rgb(46, 46, 212)  hsl(240, 66%, 51%)  Persian Blue
#2ed4d4  rgb(46, 212, 212)  hsl(180, 66%, 51%)  Dark Turquoise
#d42ed4  rgb(212, 46, 212)  hsl(300, 66%, 51%)  Medium Orchid