#e2cd51 ≈ Straw
#e2cd51 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 88.63% red, 80.39% green and 31.76% blue; printed in CMYK it uses 0% cyan, 9.29% magenta, 64.16% yellow and 11.37% black. Its hue angle is 51.31°, with 71.43% saturation and 60.2% 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.09:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.36.
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.6043 |
Shades
#e2cd51 mixed progressively with black.
Tints
#e2cd51 mixed progressively with white.
Tones
#e2cd51 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2cd51 {
color: #e2cd51;
}
.bg-e2cd51 {
background-color: #e2cd51;
color: #000000;
}
.border-e2cd51 {
border: 2px solid #e2cd51;
}
:root {
--color-primary: #e2cd51;
--color-primary-rgb: 226 205 81;
--color-primary-hsl: 51 71% 60%;
}
.gradient-e2cd51 {
background: linear-gradient(135deg, #e2cd51, #afe251);
}
.shadow-e2cd51 {
box-shadow: 0 8px 24px rgb(226 205 81 / 0.35);
}
Straw
#e2cd51 rgb(226, 205, 81) hsl(51, 71%, 60%) Straw
#5166e2 rgb(81, 102, 226) hsl(231, 71%, 60%) Ultramarine Blue
#51e2cd rgb(81, 226, 205) hsl(171, 71%, 60%) Turquoise
#cd51e2 rgb(205, 81, 226) hsl(291, 71%, 60%) Medium Orchid