HSL(47, 19%, 79%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(47,19%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 19%, 79%) | color: hsl(47, 19%, 79%) | |
| HEX | #D4CFBF | color: #D4CFBF | |
| RGB | rgb(212, 207, 191) | color: rgb(212, 207, 191) | |
| CMYK | cmyk(0%, 2%, 10%, 17%) | — | |
| HSV | hsv(46, 10%, 83%) | — | |
| HWB | hwb(46 75% 17%) | color: hwb(46 75% 17%) | |
| OKLCH | oklch(0.8541 0.0224 92.53) | color: oklch(0.8541 0.0224 92.53) | |
| Lab | lab(83.12 -1.03 8.56) | color: lab(83.12 -1.03 8.56) | |
| LCH | lch(83.12 8.62 96.86) | color: lch(83.12 8.62 96.86) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#D2D2C3 — rgb(210, 210, 195)
Deuteranopia (Green-blind)
#D2D3C4 — rgb(210, 211, 196)
Tritanopia (Blue-blind)
#D4C6C7 — rgb(212, 198, 199)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 19%, 79%);
text
color: hsl(47, 19%, 79%);
border
border: 2px solid hsl(47, 19%, 79%);
gradient light
background: linear-gradient(to right, hsl(47, 19%, 99%), hsl(47, 19%, 79%));
gradient dark
background: linear-gradient(to right, hsl(47, 19%, 79%), hsl(47, 19%, 59%))
hex
background-color: #D4CFBF;
tailwind
bg-[hsl(47,19%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 19%, 79%, 0.4);
css variable
--color-primary: hsl(47, 19%, 79%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 19%, 79%)?
HEX: #D4CFBF | RGB: rgb(212, 207, 191) | CMYK: 0%, 2%, 10%, 17% | HSV: 46°, 10%, 83%. Copy any format from the conversion table above.
What colors go well with #D4CFBF?
The complementary color is HSL(227, 19%, 79%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(47, 19%, 79%) in CSS?
As HSL: color: hsl(47, 19%, 79%); — As HEX: color: #D4CFBF; — As RGB: color: rgb(212, 207, 191); — Tailwind CSS: bg-[hsl(47,19%,79%)] — CSS variable: --color-primary: hsl(47, 19%, 79%);