#cfc307 ≈ Citrine
#cfc307 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 76.47% green and 2.75% blue; printed in CMYK it uses 0% cyan, 5.8% magenta, 96.62% yellow and 18.82% black. Its hue angle is 56.4°, with 93.46% saturation and 41.96% 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 11.46:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.09.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5231 |
Shades
#cfc307 mixed progressively with black.
Tints
#cfc307 mixed progressively with white.
Tones
#cfc307 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfc307 {
color: #cfc307;
}
.bg-cfc307 {
background-color: #cfc307;
color: #000000;
}
.border-cfc307 {
border: 2px solid #cfc307;
}
:root {
--color-primary: #cfc307;
--color-primary-rgb: 207 195 7;
--color-primary-hsl: 56 93% 42%;
}
.gradient-cfc307 {
background: linear-gradient(135deg, #cfc307, #77cf07);
}
.shadow-cfc307 {
box-shadow: 0 8px 24px rgb(207 195 7 / 0.35);
}
Citrine
#cfc307 rgb(207, 195, 7) hsl(56, 93%, 42%) Citrine
#0713cf rgb(7, 19, 207) hsl(236, 93%, 42%) Medium Blue
#07cfc3 rgb(7, 207, 195) hsl(176, 93%, 42%) Medium Turquoise
#c307cf rgb(195, 7, 207) hsl(296, 93%, 42%) Electric Purple