HSL(96, 82%, 27%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(96,82%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(96, 82%, 27%) | color: hsl(96, 82%, 27%) | |
| HEX | #3A7D0C | color: #3A7D0C | |
| RGB | rgb(58, 125, 12) | color: rgb(58, 125, 12) | |
| CMYK | cmyk(54%, 0%, 90%, 51%) | — | |
| HSV | hsv(96, 90%, 49%) | — | |
| HWB | hwb(96 5% 51%) | color: hwb(96 5% 51%) | |
| OKLCH | oklch(0.525 0.153 136.76) | color: oklch(0.525 0.153 136.76) | |
| Lab | lab(46.44 -40.01 48.09) | color: lab(46.44 -40.01 48.09) | |
| LCH | lch(46.44 62.56 129.76) | color: lch(46.44 62.56 129.76) |
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)
#575827 — rgb(87, 88, 39)
Deuteranopia (Green-blind)
#534E2E — rgb(83, 78, 46)
Tritanopia (Blue-blind)
#3D3D42 — rgb(61, 61, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(96, 82%, 27%);
text
color: hsl(96, 82%, 27%);
border
border: 2px solid hsl(96, 82%, 27%);
gradient light
background: linear-gradient(to right, hsl(96, 82%, 47%), hsl(96, 82%, 27%));
gradient dark
background: linear-gradient(to right, hsl(96, 82%, 27%), hsl(96, 82%, 7%))
hex
background-color: #3A7D0C;
tailwind
bg-[hsl(96,82%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(96, 82%, 27%, 0.4);
css variable
--color-primary: hsl(96, 82%, 27%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(96, 82%, 27%)?
HEX: #3A7D0C | RGB: rgb(58, 125, 12) | CMYK: 54%, 0%, 90%, 51% | HSV: 96°, 90%, 49%. Copy any format from the conversion table above.
What colors go well with #3A7D0C?
The complementary color is HSL(276, 82%, 27%). For a triadic harmony, use hues 96°, 216°, and 336°. For analogous combinations, try hues 66° and 126°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(96, 82%, 27%) in CSS?
As HSL: color: hsl(96, 82%, 27%); — As HEX: color: #3A7D0C; — As RGB: color: rgb(58, 125, 12); — Tailwind CSS: bg-[hsl(96,82%,27%)] — CSS variable: --color-primary: hsl(96, 82%, 27%);