#f2db7d ≈ Buff
#f2db7d is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 85.88% green and 49.02% blue; printed in CMYK it uses 0% cyan, 9.5% magenta, 48.35% yellow and 5.1% black. Its hue angle is 48.21°, with 81.82% saturation and 71.96% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 15.2:1 (WCAG AAA). The closest named color is Buff (#f0dc82), ΔE 1.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7102 |
Shades
#f2db7d mixed progressively with black.
Tints
#f2db7d mixed progressively with white.
Tones
#f2db7d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2db7d {
color: #f2db7d;
}
.bg-f2db7d {
background-color: #f2db7d;
color: #000000;
}
.border-f2db7d {
border: 2px solid #f2db7d;
}
:root {
--color-primary: #f2db7d;
--color-primary-rgb: 242 219 125;
--color-primary-hsl: 48 82% 72%;
}
.gradient-f2db7d {
background: linear-gradient(135deg, #f2db7d, #cef27d);
}
.shadow-f2db7d {
box-shadow: 0 8px 24px rgb(242 219 125 / 0.35);
}
Buff
#f2db7d rgb(242, 219, 125) hsl(48, 82%, 72%) Buff
#7d94f2 rgb(125, 148, 242) hsl(228, 82%, 72%) Cornflower Blue
#7df2db rgb(125, 242, 219) hsl(168, 82%, 72%) Aquamarine
#db7df2 rgb(219, 125, 242) hsl(288, 82%, 72%) Heliotrope