#D2D40F

#d2d40f ≈ Pear

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

#d2d40f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 83.14% green and 5.88% blue; printed in CMYK it uses 0.94% cyan, 0% magenta, 92.92% yellow and 16.86% black. Its hue angle is 60.61°, with 86.78% saturation and 44.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 13.16:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.37.

Description generated from the measured properties of this color.

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

Readable text 1.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cdcdcd ≈ 0.003% of males
Achromatomaly #cfd0a3 ≈ 0.001% of males
Protanopia #e6ca00 ≈ 1.01% of males
Deuteranopia #e7cf2c ≈ 1.27% of males
Tritanopia #e2c6b5 ≈ 0.0001% of males
Protanomaly #dece00 ≈ 1.08% of males
Deuteranomaly #dfd123 ≈ 4.63% of males
Tritanomaly #dccc90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2d40f {
  color: #d2d40f;
}
Background
.bg-d2d40f {
  background-color: #d2d40f;
  color: #000000;
}
Border
.border-d2d40f {
  border: 2px solid #d2d40f;
}
CSS variables
:root {
  --color-primary: #d2d40f;
  --color-primary-rgb: 210 212 15;
  --color-primary-hsl: 61 87% 45%;
}
Gradient
.gradient-d2d40f {
  background: linear-gradient(135deg, #d2d40f, #6fd40f);
}
Colored shadow
.shadow-d2d40f {
  box-shadow: 0 8px 24px rgb(210 212 15 / 0.35);
}

Pear
#d2d40f  rgb(210, 212, 15)  hsl(61, 87%, 45%)  Pear
#110fd4  rgb(17, 15, 212)  hsl(241, 87%, 45%)  Medium Blue
#0fd2d4  rgb(15, 210, 212)  hsl(181, 87%, 45%)  Dark Turquoise
#d40fd2  rgb(212, 15, 210)  hsl(301, 87%, 45%)  Medium Orchid