HSL(52, 60%, 8%)
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,60%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 60%, 8%) | color: hsl(52, 60%, 8%) | |
| HEX | #211D08 | color: #211D08 | |
| RGB | rgb(33, 29, 8) | color: rgb(33, 29, 8) | |
| CMYK | cmyk(0%, 12%, 76%, 87%) | — | |
| HSV | hsv(50, 76%, 13%) | — | |
| HWB | hwb(50 3% 87%) | color: hwb(50 3% 87%) | |
| OKLCH | oklch(0.2296 0.0353 98.73) | color: oklch(0.2296 0.0353 98.73) | |
| Lab | lab(10.7 -1.64 12.63) | color: lab(10.7 -1.64 12.63) | |
| LCH | lch(10.7 12.74 97.4) | color: lch(10.7 12.74 97.4) |
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)
#1F1F0D — rgb(31, 31, 13)
Deuteranopia (Green-blind)
#20200E — rgb(32, 32, 14)
Tritanopia (Blue-blind)
#211112 — rgb(33, 17, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 60%, 8%);
text
color: hsl(52, 60%, 8%);
border
border: 2px solid hsl(52, 60%, 8%);
gradient light
background: linear-gradient(to right, hsl(52, 60%, 28%), hsl(52, 60%, 8%));
gradient dark
background: linear-gradient(to right, hsl(52, 60%, 8%), hsl(52, 60%, 0%))
hex
background-color: #211D08;
tailwind
bg-[hsl(52,60%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 60%, 8%, 0.4);
css variable
--color-primary: hsl(52, 60%, 8%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 60%, 8%)?
HEX: #211D08 | RGB: rgb(33, 29, 8) | CMYK: 0%, 12%, 76%, 87% | HSV: 50°, 76%, 13%. Copy any format from the conversion table above.
What colors go well with #211D08?
The complementary color is HSL(232, 60%, 8%). 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, 60%, 8%) in CSS?
As HSL: color: hsl(52, 60%, 8%); — As HEX: color: #211D08; — As RGB: color: rgb(33, 29, 8); — Tailwind CSS: bg-[hsl(52,60%,8%)] — CSS variable: --color-primary: hsl(52, 60%, 8%);