#dcc77f ≈ Buff
#dcc77f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 78.04% green and 49.8% blue; printed in CMYK it uses 0% cyan, 9.55% magenta, 42.27% yellow and 13.73% black. Its hue angle is 46.45°, with 57.06% saturation and 68.04% 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.52:1 (WCAG AAA). The closest named color is Buff (#f0dc82), ΔE 5.62.
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.5759 |
Shades
#dcc77f mixed progressively with black.
Tints
#dcc77f mixed progressively with white.
Tones
#dcc77f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcc77f {
color: #dcc77f;
}
.bg-dcc77f {
background-color: #dcc77f;
color: #000000;
}
.border-dcc77f {
border: 2px solid #dcc77f;
}
:root {
--color-primary: #dcc77f;
--color-primary-rgb: 220 199 127;
--color-primary-hsl: 46 57% 68%;
}
.gradient-dcc77f {
background: linear-gradient(135deg, #dcc77f, #c3dc7f);
}
.shadow-dcc77f {
box-shadow: 0 8px 24px rgb(220 199 127 / 0.35);
}
Buff
#dcc77f rgb(220, 199, 127) hsl(46, 57%, 68%) Buff
#7f94dc rgb(127, 148, 220) hsl(226, 57%, 68%) Cornflower Blue
#7fdcc7 rgb(127, 220, 199) hsl(166, 57%, 68%) Turquoise
#c77fdc rgb(199, 127, 220) hsl(286, 57%, 68%) Floral Lavender