#e7cd7c ≈ Buff
#e7cd7c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 90.59% red, 80.39% green and 48.63% blue; printed in CMYK it uses 0% cyan, 11.26% magenta, 46.32% yellow and 9.41% black. Its hue angle is 45.42°, with 69.03% saturation and 69.61% 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 13.42:1 (WCAG AAA). The closest named color is Buff (#f0dc82), ΔE 3.97.
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.6211 |
Shades
#e7cd7c mixed progressively with black.
Tints
#e7cd7c mixed progressively with white.
Tones
#e7cd7c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e7cd7c {
color: #e7cd7c;
}
.bg-e7cd7c {
background-color: #e7cd7c;
color: #000000;
}
.border-e7cd7c {
border: 2px solid #e7cd7c;
}
:root {
--color-primary: #e7cd7c;
--color-primary-rgb: 231 205 124;
--color-primary-hsl: 45 69% 70%;
}
.gradient-e7cd7c {
background: linear-gradient(135deg, #e7cd7c, #cce77c);
}
.shadow-e7cd7c {
box-shadow: 0 8px 24px rgb(231 205 124 / 0.35);
}
Buff
#e7cd7c rgb(231, 205, 124) hsl(45, 69%, 70%) Buff
#7c96e7 rgb(124, 150, 231) hsl(225, 69%, 70%) Cornflower Blue
#7ce7cd rgb(124, 231, 205) hsl(165, 69%, 70%) Turquoise
#cd7ce7 rgb(205, 124, 231) hsl(285, 69%, 70%) Heliotrope