#ffcc66 ≈ Topaz
#ffcc66 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 100% red, 80% green and 40% blue; printed in CMYK it uses 0% cyan, 20% magenta, 60% yellow and 0% black. Its hue angle is 40°, with 100% saturation and 70% 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 14.08:1 (WCAG AAA). The closest named color is Topaz (#ffc87c), ΔE 5.08.
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.6541 |
Shades
#ffcc66 mixed progressively with black.
Tints
#ffcc66 mixed progressively with white.
Tones
#ffcc66 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffcc66 {
color: #ffcc66;
}
.bg-ffcc66 {
background-color: #ffcc66;
color: #000000;
}
.border-ffcc66 {
border: 2px solid #ffcc66;
}
:root {
--color-primary: #ffcc66;
--color-primary-rgb: 255 204 102;
--color-primary-hsl: 40 100% 70%;
}
.gradient-ffcc66 {
background: linear-gradient(135deg, #ffcc66, #e5ff66);
}
.shadow-ffcc66 {
box-shadow: 0 8px 24px rgb(255 204 102 / 0.35);
}
Topaz
#ffcc66 rgb(255, 204, 102) hsl(40, 100%, 70%) Topaz
#6699ff rgb(102, 153, 255) hsl(220, 100%, 70%) Cornflower Blue
#66ffcc rgb(102, 255, 204) hsl(160, 100%, 70%) Aquamarine
#cc66ff rgb(204, 102, 255) hsl(280, 100%, 70%) Heliotrope