#c8a151 ≈ Indian Yellow
#c8a151 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 78.43% red, 63.14% green and 31.76% blue; printed in CMYK it uses 0% cyan, 19.5% magenta, 59.5% yellow and 21.57% black. Its hue angle is 40.34°, with 51.97% saturation and 55.1% 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 8.67:1 (WCAG AAA). The closest named color is Indian Yellow (#e3a857), ΔE 6.44.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3836 |
Shades
#c8a151 mixed progressively with black.
Tints
#c8a151 mixed progressively with white.
Tones
#c8a151 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8a151 {
color: #c8a151;
}
.bg-c8a151 {
background-color: #c8a151;
color: #000000;
}
.border-c8a151 {
border: 2px solid #c8a151;
}
:root {
--color-primary: #c8a151;
--color-primary-rgb: 200 161 81;
--color-primary-hsl: 40 52% 55%;
}
.gradient-c8a151 {
background: linear-gradient(135deg, #c8a151, #b3c851);
}
.shadow-c8a151 {
box-shadow: 0 8px 24px rgb(200 161 81 / 0.35);
}
Indian Yellow
#c8a151 rgb(200, 161, 81) hsl(40, 52%, 55%) Indian Yellow
#5178c8 rgb(81, 120, 200) hsl(220, 52%, 55%) Glaucous
#51c8a1 rgb(81, 200, 161) hsl(160, 52%, 55%) Medium Aquamarine
#a151c8 rgb(161, 81, 200) hsl(280, 52%, 55%) Purpureus