#cfca4b ≈ Straw
#cfca4b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 79.22% green and 29.41% blue; printed in CMYK it uses 0% cyan, 2.42% magenta, 63.77% yellow and 18.82% black. Its hue angle is 57.73°, with 57.89% saturation and 55.29% 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.2:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.93.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5601 |
Shades
#cfca4b mixed progressively with black.
Tints
#cfca4b mixed progressively with white.
Tones
#cfca4b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfca4b {
color: #cfca4b;
}
.bg-cfca4b {
background-color: #cfca4b;
color: #000000;
}
.border-cfca4b {
border: 2px solid #cfca4b;
}
:root {
--color-primary: #cfca4b;
--color-primary-rgb: 207 202 75;
--color-primary-hsl: 58 58% 55%;
}
.gradient-cfca4b {
background: linear-gradient(135deg, #cfca4b, #92cf4b);
}
.shadow-cfca4b {
box-shadow: 0 8px 24px rgb(207 202 75 / 0.35);
}
Straw
#cfca4b rgb(207, 202, 75) hsl(58, 58%, 55%) Straw
#4b50cf rgb(75, 80, 207) hsl(238, 58%, 55%) Iris
#4bcfca rgb(75, 207, 202) hsl(178, 58%, 55%) Medium Turquoise
#ca4bcf rgb(202, 75, 207) hsl(298, 58%, 55%) Medium Orchid