#cfc74e ≈ Straw
#cfc74e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 78.04% green and 30.59% blue; printed in CMYK it uses 0% cyan, 3.86% magenta, 62.32% yellow and 18.82% black. Its hue angle is 56.28°, with 57.33% saturation and 55.88% 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 11.93:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.
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.5466 |
Shades
#cfc74e mixed progressively with black.
Tints
#cfc74e mixed progressively with white.
Tones
#cfc74e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfc74e {
color: #cfc74e;
}
.bg-cfc74e {
background-color: #cfc74e;
color: #000000;
}
.border-cfc74e {
border: 2px solid #cfc74e;
}
:root {
--color-primary: #cfc74e;
--color-primary-rgb: 207 199 78;
--color-primary-hsl: 56 57% 56%;
}
.gradient-cfc74e {
background: linear-gradient(135deg, #cfc74e, #96cf4e);
}
.shadow-cfc74e {
box-shadow: 0 8px 24px rgb(207 199 78 / 0.35);
}
Straw
#cfc74e rgb(207, 199, 78) hsl(56, 57%, 56%) Straw
#4e56cf rgb(78, 86, 207) hsl(236, 57%, 56%) Iris
#4ecfc7 rgb(78, 207, 199) hsl(176, 57%, 56%) Medium Turquoise
#c74ecf rgb(199, 78, 207) hsl(296, 57%, 56%) Medium Orchid