HSL(47, 12%, 10%)
Very Dark Yellow — Yellow color
Adjust Color
Color Information
Color Name
Very Dark Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(47,12%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 12%, 10%) | color: hsl(47, 12%, 10%) | |
| HEX | #1D1B16 | color: #1D1B16 | |
| RGB | rgb(29, 27, 22) | color: rgb(29, 27, 22) | |
| CMYK | cmyk(0%, 7%, 24%, 89%) | — | |
| HSV | hsv(43, 24%, 11%) | — | |
| HWB | hwb(43 8% 89%) | color: hwb(43 8% 89%) | |
| OKLCH | oklch(0.2226 0.0099 88.8) | color: oklch(0.2226 0.0099 88.8) | |
| Lab | lab(9.82 -0.18 3.82) | color: lab(9.82 -0.18 3.82) | |
| LCH | lch(9.82 3.82 92.7) | color: lch(9.82 3.82 92.7) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#1C1C17 — rgb(28, 28, 23)
Deuteranopia (Green-blind)
#1C1C18 — rgb(28, 28, 24)
Tritanopia (Blue-blind)
#1D1818 — rgb(29, 24, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 12%, 10%);
text
color: hsl(47, 12%, 10%);
border
border: 2px solid hsl(47, 12%, 10%);
gradient light
background: linear-gradient(to right, hsl(47, 12%, 30%), hsl(47, 12%, 10%));
gradient dark
background: linear-gradient(to right, hsl(47, 12%, 10%), hsl(47, 12%, 0%))
hex
background-color: #1D1B16;
tailwind
bg-[hsl(47,12%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 12%, 10%, 0.4);
css variable
--color-primary: hsl(47, 12%, 10%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 12%, 10%)?
HEX: #1D1B16 | RGB: rgb(29, 27, 22) | CMYK: 0%, 7%, 24%, 89% | HSV: 43°, 24%, 11%. Copy any format from the conversion table above.
What colors go well with #1D1B16?
The complementary color is HSL(227, 12%, 10%). 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, 12%, 10%) in CSS?
As HSL: color: hsl(47, 12%, 10%); — As HEX: color: #1D1B16; — As RGB: color: rgb(29, 27, 22); — Tailwind CSS: bg-[hsl(47,12%,10%)] — CSS variable: --color-primary: hsl(47, 12%, 10%);