#ffc302 ≈ Mikado Yellow
#ffc302 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 76.47% green and 0.78% blue; printed in CMYK it uses 0% cyan, 23.53% magenta, 99.22% yellow and 0% black. Its hue angle is 45.77°, with 100% saturation and 50.39% 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 13.06:1 (WCAG AAA). The closest named color is Mikado Yellow (#ffc40c), ΔE 0.32.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6029 |
Shades
#ffc302 mixed progressively with black.
Tints
#ffc302 mixed progressively with white.
Tones
#ffc302 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffc302 {
color: #ffc302;
}
.bg-ffc302 {
background-color: #ffc302;
color: #000000;
}
.border-ffc302 {
border: 2px solid #ffc302;
}
:root {
--color-primary: #ffc302;
--color-primary-rgb: 255 195 2;
--color-primary-hsl: 46 100% 50%;
}
.gradient-ffc302 {
background: linear-gradient(135deg, #ffc302, #bdff02);
}
.shadow-ffc302 {
box-shadow: 0 8px 24px rgb(255 195 2 / 0.35);
}
Mikado Yellow
#ffc302 rgb(255, 195, 2) hsl(46, 100%, 50%) Mikado Yellow
#023eff rgb(2, 62, 255) hsl(226, 100%, 50%) Han Purple
#02ffc3 rgb(2, 255, 195) hsl(166, 100%, 50%) Aquamarine
#c302ff rgb(195, 2, 255) hsl(286, 100%, 50%) Electric Purple