HSL(100, 70%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(100,70%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(100, 70%, 30%) | color: hsl(100, 70%, 30%) | |
| HEX | #3B8217 | color: #3B8217 | |
| RGB | rgb(59, 130, 23) | color: rgb(59, 130, 23) | |
| CMYK | cmyk(55%, 0%, 82%, 49%) | — | |
| HSV | hsv(100, 82%, 51%) | — | |
| HWB | hwb(100 9% 49%) | color: hwb(100 9% 49%) | |
| OKLCH | oklch(0.5399 0.1541 137.76) | color: oklch(0.5399 0.1541 137.76) | |
| Lab | lab(48.2 -41.17 46.75) | color: lab(48.2 -41.17 46.75) | |
| LCH | lch(48.2 62.29 131.37) | color: lch(48.2 62.29 131.37) |
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)
#5A5A31 — rgb(90, 90, 49)
Deuteranopia (Green-blind)
#565037 — rgb(86, 80, 55)
Tritanopia (Blue-blind)
#3F454A — rgb(63, 69, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(100, 70%, 30%);
text
color: hsl(100, 70%, 30%);
border
border: 2px solid hsl(100, 70%, 30%);
gradient light
background: linear-gradient(to right, hsl(100, 70%, 50%), hsl(100, 70%, 30%));
gradient dark
background: linear-gradient(to right, hsl(100, 70%, 30%), hsl(100, 70%, 10%))
hex
background-color: #3B8217;
tailwind
bg-[hsl(100,70%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(100, 70%, 30%, 0.4);
css variable
--color-primary: hsl(100, 70%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(100, 70%, 30%)?
HEX: #3B8217 | RGB: rgb(59, 130, 23) | CMYK: 55%, 0%, 82%, 49% | HSV: 100°, 82%, 51%. Copy any format from the conversion table above.
What colors go well with #3B8217?
The complementary color is HSL(280, 70%, 30%). For a triadic harmony, use hues 100°, 220°, and 340°. For analogous combinations, try hues 70° and 130°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(100, 70%, 30%) in CSS?
As HSL: color: hsl(100, 70%, 30%); — As HEX: color: #3B8217; — As RGB: color: rgb(59, 130, 23); — Tailwind CSS: bg-[hsl(100,70%,30%)] — CSS variable: --color-primary: hsl(100, 70%, 30%);