#dec478 ≈ Buff
#dec478 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.06% red, 76.86% green and 47.06% blue; printed in CMYK it uses 0% cyan, 11.71% magenta, 45.95% yellow and 12.94% black. Its hue angle is 44.71°, with 60.71% saturation and 67.06% 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 12.27:1 (WCAG AAA). The closest named color is Buff (#f0dc82), ΔE 6.13.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5637 |
Shades
#dec478 mixed progressively with black.
Tints
#dec478 mixed progressively with white.
Tones
#dec478 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dec478 {
color: #dec478;
}
.bg-dec478 {
background-color: #dec478;
color: #000000;
}
.border-dec478 {
border: 2px solid #dec478;
}
:root {
--color-primary: #dec478;
--color-primary-rgb: 222 196 120;
--color-primary-hsl: 45 61% 67%;
}
.gradient-dec478 {
background: linear-gradient(135deg, #dec478, #c5de78);
}
.shadow-dec478 {
box-shadow: 0 8px 24px rgb(222 196 120 / 0.35);
}
Buff
#dec478 rgb(222, 196, 120) hsl(45, 61%, 67%) Buff
#7892de rgb(120, 146, 222) hsl(225, 61%, 67%) Cornflower Blue
#78dec4 rgb(120, 222, 196) hsl(165, 61%, 67%) Medium Aquamarine
#c478de rgb(196, 120, 222) hsl(285, 61%, 67%) Floral Lavender