#dcf08a ≈ Pastel Yellow
#dcf08a is a color from the yellow-green family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 94.12% green and 54.12% blue; printed in CMYK it uses 8.33% cyan, 0% magenta, 42.5% yellow and 5.88% black. Its hue angle is 71.76°, with 77.27% saturation and 74.12% 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 brand accents. Black text on this color reaches a contrast ratio of 16.87:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 5.84.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ccff99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7937 |
Shades
#dcf08a mixed progressively with black.
Tints
#dcf08a mixed progressively with white.
Tones
#dcf08a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcf08a {
color: #dcf08a;
}
.bg-dcf08a {
background-color: #dcf08a;
color: #000000;
}
.border-dcf08a {
border: 2px solid #dcf08a;
}
:root {
--color-primary: #dcf08a;
--color-primary-rgb: 220 240 138;
--color-primary-hsl: 72 77% 74%;
}
.gradient-dcf08a {
background: linear-gradient(135deg, #dcf08a, #a9f08a);
}
.shadow-dcf08a {
box-shadow: 0 8px 24px rgb(220 240 138 / 0.35);
}
Pastel Yellow
#dcf08a rgb(220, 240, 138) hsl(72, 77%, 74%) Pastel Yellow
#9e8af0 rgb(158, 138, 240) hsl(252, 77%, 74%) Medium Purple
#8adcf0 rgb(138, 220, 240) hsl(192, 77%, 74%) Non-Photo Blue
#f08adc rgb(240, 138, 220) hsl(312, 77%, 74%) Violet