#cf940e ≈ Gamboge
#cf940e is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 58.04% green and 5.49% blue; printed in CMYK it uses 0% cyan, 28.5% magenta, 93.24% yellow and 18.82% black. Its hue angle is 41.66°, with 87.33% saturation and 43.33% 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 7.9:1 (WCAG AAA). The closest named color is Gamboge (#e49b0f), ΔE 4.43.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3448 |
Shades
#cf940e mixed progressively with black.
Tints
#cf940e mixed progressively with white.
Tones
#cf940e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf940e {
color: #cf940e;
}
.bg-cf940e {
background-color: #cf940e;
color: #000000;
}
.border-cf940e {
border: 2px solid #cf940e;
}
:root {
--color-primary: #cf940e;
--color-primary-rgb: 207 148 14;
--color-primary-hsl: 42 87% 43%;
}
.gradient-cf940e {
background: linear-gradient(135deg, #cf940e, #a9cf0e);
}
.shadow-cf940e {
box-shadow: 0 8px 24px rgb(207 148 14 / 0.35);
}
Gamboge
#cf940e rgb(207, 148, 14) hsl(42, 87%, 43%) Gamboge
#0e49cf rgb(14, 73, 207) hsl(222, 87%, 43%) Sapphire
#0ecf94 rgb(14, 207, 148) hsl(162, 87%, 43%) Caribbean Green
#940ecf rgb(148, 14, 207) hsl(282, 87%, 43%) Dark Violet