#d8f040 ≈ Pear
#d8f040 is a color from the yellow-green family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 94.12% green and 25.1% blue; printed in CMYK it uses 10% cyan, 0% magenta, 73.33% yellow and 5.88% black. Its hue angle is 68.18°, with 85.44% saturation and 59.61% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and call-to-action buttons. Black text on this color reaches a contrast ratio of 16.46:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.15.
Description generated from the measured properties of this color.
| 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 luminance | 0.7729 |
Shades
#d8f040 mixed progressively with black.
Tints
#d8f040 mixed progressively with white.
Tones
#d8f040 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8f040 {
color: #d8f040;
}
.bg-d8f040 {
background-color: #d8f040;
color: #000000;
}
.border-d8f040 {
border: 2px solid #d8f040;
}
:root {
--color-primary: #d8f040;
--color-primary-rgb: 216 240 64;
--color-primary-hsl: 68 85% 60%;
}
.gradient-d8f040 {
background: linear-gradient(135deg, #d8f040, #80f040);
}
.shadow-d8f040 {
box-shadow: 0 8px 24px rgb(216 240 64 / 0.35);
}
Pear
#d8f040 rgb(216, 240, 64) hsl(68, 85%, 60%) Pear
#5840f0 rgb(88, 64, 240) hsl(248, 85%, 60%) Majorelle Blue
#40d8f0 rgb(64, 216, 240) hsl(188, 85%, 60%) Dark Turquoise
#f040d8 rgb(240, 64, 216) hsl(308, 85%, 60%) Shocking Pink