#d2cc76 ≈ Straw
#d2cc76 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 80% green and 46.27% blue; printed in CMYK it uses 0% cyan, 2.86% magenta, 43.81% yellow and 17.65% black. Its hue angle is 56.09°, with 50.55% 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.64:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.51.
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.582 |
Shades
#d2cc76 mixed progressively with black.
Tints
#d2cc76 mixed progressively with white.
Tones
#d2cc76 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cc76 {
color: #d2cc76;
}
.bg-d2cc76 {
background-color: #d2cc76;
color: #000000;
}
.border-d2cc76 {
border: 2px solid #d2cc76;
}
:root {
--color-primary: #d2cc76;
--color-primary-rgb: 210 204 118;
--color-primary-hsl: 56 51% 64%;
}
.gradient-d2cc76 {
background: linear-gradient(135deg, #d2cc76, #aad276);
}
.shadow-d2cc76 {
box-shadow: 0 8px 24px rgb(210 204 118 / 0.35);
}
Straw
#d2cc76 rgb(210, 204, 118) hsl(56, 51%, 64%) Straw
#767cd2 rgb(118, 124, 210) hsl(236, 51%, 64%) Glaucous
#76d2cc rgb(118, 210, 204) hsl(176, 51%, 64%) Medium Turquoise
#cc76d2 rgb(204, 118, 210) hsl(296, 51%, 64%) Orchid