HSL(52, 28%, 9%)
Very Dark Yellow — Yellow color
Adjust Color
Color Information
Color Name
Very Dark Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,28%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 28%, 9%) | color: hsl(52, 28%, 9%) | |
| HEX | #1D1C11 | color: #1D1C11 | |
| RGB | rgb(29, 28, 17) | color: rgb(29, 28, 17) | |
| CMYK | cmyk(0%, 3%, 41%, 89%) | — | |
| HSV | hsv(55, 41%, 11%) | — | |
| HWB | hwb(55 6% 89%) | color: hwb(55 6% 89%) | |
| OKLCH | oklch(0.2239 0.0201 103.51) | color: oklch(0.2239 0.0201 103.51) | |
| Lab | lab(10.05 -1.87 7.38) | color: lab(10.05 -1.87 7.38) | |
| LCH | lch(10.05 7.61 104.22) | color: lch(10.05 7.61 104.22) |
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)
#1D1D14 — rgb(29, 29, 20)
Deuteranopia (Green-blind)
#1D1D14 — rgb(29, 29, 20)
Tritanopia (Blue-blind)
#1D1616 — rgb(29, 22, 22)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 28%, 9%);
text
color: hsl(52, 28%, 9%);
border
border: 2px solid hsl(52, 28%, 9%);
gradient light
background: linear-gradient(to right, hsl(52, 28%, 29%), hsl(52, 28%, 9%));
gradient dark
background: linear-gradient(to right, hsl(52, 28%, 9%), hsl(52, 28%, 0%))
hex
background-color: #1D1C11;
tailwind
bg-[hsl(52,28%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 28%, 9%, 0.4);
css variable
--color-primary: hsl(52, 28%, 9%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 28%, 9%)?
HEX: #1D1C11 | RGB: rgb(29, 28, 17) | CMYK: 0%, 3%, 41%, 89% | HSV: 55°, 41%, 11%. Copy any format from the conversion table above.
What colors go well with #1D1C11?
The complementary color is HSL(232, 28%, 9%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 28%, 9%) in CSS?
As HSL: color: hsl(52, 28%, 9%); — As HEX: color: #1D1C11; — As RGB: color: rgb(29, 28, 17); — Tailwind CSS: bg-[hsl(52,28%,9%)] — CSS variable: --color-primary: hsl(52, 28%, 9%);