HSL(84, 50%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(84,50%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(84, 50%, 15%) | color: hsl(84, 50%, 15%) | |
| HEX | #2A3913 | color: #2A3913 | |
| RGB | rgb(42, 57, 19) | color: rgb(42, 57, 19) | |
| CMYK | cmyk(26%, 0%, 67%, 78%) | — | |
| HSV | hsv(84, 67%, 22%) | — | |
| HWB | hwb(84 7% 78%) | color: hwb(84 7% 78%) | |
| OKLCH | oklch(0.3214 0.0629 127.61) | color: oklch(0.3214 0.0629 127.61) | |
| Lab | lab(21.82 -13.62 21.31) | color: lab(21.82 -13.62 21.31) | |
| LCH | lch(21.82 25.29 122.58) | color: lch(21.82 25.29 122.58) |
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)
#30311C — rgb(48, 49, 28)
Deuteranopia (Green-blind)
#302F1E — rgb(48, 47, 30)
Tritanopia (Blue-blind)
#2B2325 — rgb(43, 35, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(84, 50%, 15%);
text
color: hsl(84, 50%, 15%);
border
border: 2px solid hsl(84, 50%, 15%);
gradient light
background: linear-gradient(to right, hsl(84, 50%, 35%), hsl(84, 50%, 15%));
gradient dark
background: linear-gradient(to right, hsl(84, 50%, 15%), hsl(84, 50%, 0%))
hex
background-color: #2A3913;
tailwind
bg-[hsl(84,50%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(84, 50%, 15%, 0.4);
css variable
--color-primary: hsl(84, 50%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(84, 50%, 15%)?
HEX: #2A3913 | RGB: rgb(42, 57, 19) | CMYK: 26%, 0%, 67%, 78% | HSV: 84°, 67%, 22%. Copy any format from the conversion table above.
What colors go well with #2A3913?
The complementary color is HSL(264, 50%, 15%). For a triadic harmony, use hues 84°, 204°, and 324°. For analogous combinations, try hues 54° and 114°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(84, 50%, 15%) in CSS?
As HSL: color: hsl(84, 50%, 15%); — As HEX: color: #2A3913; — As RGB: color: rgb(42, 57, 19); — Tailwind CSS: bg-[hsl(84,50%,15%)] — CSS variable: --color-primary: hsl(84, 50%, 15%);