#d7bb1c ≈ Old Gold
#d7bb1c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 73.33% green and 10.98% blue; printed in CMYK it uses 0% cyan, 13.02% magenta, 86.98% yellow and 15.69% black. Its hue angle is 51.02°, with 76.95% saturation and 47.65% 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 11.01:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.26.
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.5007 |
Shades
#d7bb1c mixed progressively with black.
Tints
#d7bb1c mixed progressively with white.
Tones
#d7bb1c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7bb1c {
color: #d7bb1c;
}
.bg-d7bb1c {
background-color: #d7bb1c;
color: #000000;
}
.border-d7bb1c {
border: 2px solid #d7bb1c;
}
:root {
--color-primary: #d7bb1c;
--color-primary-rgb: 215 187 28;
--color-primary-hsl: 51 77% 48%;
}
.gradient-d7bb1c {
background: linear-gradient(135deg, #d7bb1c, #95d71c);
}
.shadow-d7bb1c {
box-shadow: 0 8px 24px rgb(215 187 28 / 0.35);
}
Old Gold
#d7bb1c rgb(215, 187, 28) hsl(51, 77%, 48%) Old Gold
#1c38d7 rgb(28, 56, 215) hsl(231, 77%, 48%) Persian Blue
#1cd7bb rgb(28, 215, 187) hsl(171, 77%, 48%) Turquoise
#bb1cd7 rgb(187, 28, 215) hsl(291, 77%, 48%) Electric Purple