HSL(52, 86%, 11%)
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,86%,11%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 86%, 11%) | color: hsl(52, 86%, 11%) | |
| HEX | #342E04 | color: #342E04 | |
| RGB | rgb(52, 46, 4) | color: rgb(52, 46, 4) | |
| CMYK | cmyk(0%, 12%, 92%, 80%) | — | |
| HSV | hsv(53, 92%, 20%) | — | |
| HWB | hwb(53 2% 80%) | color: hwb(53 2% 80%) | |
| OKLCH | oklch(0.2988 0.0584 100.87) | color: oklch(0.2988 0.0584 100.87) | |
| Lab | lab(18.77 -2.87 25.1) | color: lab(18.77 -2.87 25.1) | |
| LCH | lch(18.77 25.26 96.52) | color: lch(18.77 25.26 96.52) |
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)
#31310E — rgb(49, 49, 14)
Deuteranopia (Green-blind)
#323211 — rgb(50, 50, 17)
Tritanopia (Blue-blind)
#341618 — rgb(52, 22, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 86%, 11%);
text
color: hsl(52, 86%, 11%);
border
border: 2px solid hsl(52, 86%, 11%);
gradient light
background: linear-gradient(to right, hsl(52, 86%, 31%), hsl(52, 86%, 11%));
gradient dark
background: linear-gradient(to right, hsl(52, 86%, 11%), hsl(52, 86%, 0%))
hex
background-color: #342E04;
tailwind
bg-[hsl(52,86%,11%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 86%, 11%, 0.4);
css variable
--color-primary: hsl(52, 86%, 11%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 86%, 11%)?
HEX: #342E04 | RGB: rgb(52, 46, 4) | CMYK: 0%, 12%, 92%, 80% | HSV: 53°, 92%, 20%. Copy any format from the conversion table above.
What colors go well with #342E04?
The complementary color is HSL(232, 86%, 11%). 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, 86%, 11%) in CSS?
As HSL: color: hsl(52, 86%, 11%); — As HEX: color: #342E04; — As RGB: color: rgb(52, 46, 4); — Tailwind CSS: bg-[hsl(52,86%,11%)] — CSS variable: --color-primary: hsl(52, 86%, 11%);