#d7ca71 ≈ Straw
#d7ca71 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.31% red, 79.22% green and 44.31% blue; printed in CMYK it uses 0% cyan, 6.05% magenta, 47.44% yellow and 15.69% black. Its hue angle is 52.35°, with 56.04% saturation and 64.31% 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 12.58:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.13.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5788 |
Shades
#d7ca71 mixed progressively with black.
Tints
#d7ca71 mixed progressively with white.
Tones
#d7ca71 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7ca71 {
color: #d7ca71;
}
.bg-d7ca71 {
background-color: #d7ca71;
color: #000000;
}
.border-d7ca71 {
border: 2px solid #d7ca71;
}
:root {
--color-primary: #d7ca71;
--color-primary-rgb: 215 202 113;
--color-primary-hsl: 52 56% 64%;
}
.gradient-d7ca71 {
background: linear-gradient(135deg, #d7ca71, #b1d771);
}
.shadow-d7ca71 {
box-shadow: 0 8px 24px rgb(215 202 113 / 0.35);
}
Straw
#d7ca71 rgb(215, 202, 113) hsl(52, 56%, 64%) Straw
#717ed7 rgb(113, 126, 215) hsl(232, 56%, 64%) Glaucous
#71d7ca rgb(113, 215, 202) hsl(172, 56%, 64%) Turquoise
#ca71d7 rgb(202, 113, 215) hsl(292, 56%, 64%) Orchid