#c4e40f ≈ Pear
#c4e40f is a color from the yellow-green family, with medium lightness and vivid saturation. In the RGB model it is made of 76.86% red, 89.41% green and 5.88% blue; printed in CMYK it uses 14.04% cyan, 0% magenta, 93.42% yellow and 10.59% black. Its hue angle is 69.01°, with 87.65% saturation and 47.65% 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 14.45:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.72.
Description generated from the measured properties of this color.
| 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 luminance | 0.6726 |
Shades
#c4e40f mixed progressively with black.
Tints
#c4e40f mixed progressively with white.
Tones
#c4e40f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c4e40f {
color: #c4e40f;
}
.bg-c4e40f {
background-color: #c4e40f;
color: #000000;
}
.border-c4e40f {
border: 2px solid #c4e40f;
}
:root {
--color-primary: #c4e40f;
--color-primary-rgb: 196 228 15;
--color-primary-hsl: 69 88% 48%;
}
.gradient-c4e40f {
background: linear-gradient(135deg, #c4e40f, #5ae40f);
}
.shadow-c4e40f {
box-shadow: 0 8px 24px rgb(196 228 15 / 0.35);
}
Pear
#c4e40f rgb(196, 228, 15) hsl(69, 88%, 48%) Pear
#2f0fe4 rgb(47, 15, 228) hsl(249, 88%, 48%) Blue
#0fc4e4 rgb(15, 196, 228) hsl(189, 88%, 48%) Sky Blue
#e40fc4 rgb(228, 15, 196) hsl(309, 88%, 48%) Shocking Pink