#ffd172 ≈ Topaz
#ffd172 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 100% red, 81.96% green and 44.71% blue; printed in CMYK it uses 0% cyan, 18.04% magenta, 55.29% yellow and 0% black. Its hue angle is 40.43°, with 100% saturation and 72.35% 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.62:1 (WCAG AAA). The closest named color is Topaz (#ffc87c), ΔE 5.2.
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.6808 |
Shades
#ffd172 mixed progressively with black.
Tints
#ffd172 mixed progressively with white.
Tones
#ffd172 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffd172 {
color: #ffd172;
}
.bg-ffd172 {
background-color: #ffd172;
color: #000000;
}
.border-ffd172 {
border: 2px solid #ffd172;
}
:root {
--color-primary: #ffd172;
--color-primary-rgb: 255 209 114;
--color-primary-hsl: 40 100% 72%;
}
.gradient-ffd172 {
background: linear-gradient(135deg, #ffd172, #e6ff72);
}
.shadow-ffd172 {
box-shadow: 0 8px 24px rgb(255 209 114 / 0.35);
}
Topaz
#ffd172 rgb(255, 209, 114) hsl(40, 100%, 72%) Topaz
#72a0ff rgb(114, 160, 255) hsl(220, 100%, 72%) Cornflower Blue
#72ffd1 rgb(114, 255, 209) hsl(160, 100%, 72%) Aquamarine
#d172ff rgb(209, 114, 255) hsl(280, 100%, 72%) Heliotrope