HSL(108, 63%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(108,63%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(108, 63%, 30%) | color: hsl(108, 63%, 30%) | |
| HEX | #307D1C | color: #307D1C | |
| RGB | rgb(48, 125, 28) | color: rgb(48, 125, 28) | |
| CMYK | cmyk(62%, 0%, 78%, 51%) | — | |
| HSV | hsv(108, 78%, 49%) | — | |
| HWB | hwb(108 11% 51%) | color: hwb(108 11% 51%) | |
| OKLCH | oklch(0.5219 0.1504 140.07) | color: oklch(0.5219 0.1504 140.07) | |
| Lab | lab(46.15 -42.01 42.93) | color: lab(46.15 -42.01 42.93) | |
| LCH | lch(46.15 60.07 134.38) | color: lch(46.15 60.07 134.38) |
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)
#515233 — rgb(81, 82, 51)
Deuteranopia (Green-blind)
#4D4739 — rgb(77, 71, 57)
Tritanopia (Blue-blind)
#34464A — rgb(52, 70, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(108, 63%, 30%);
text
color: hsl(108, 63%, 30%);
border
border: 2px solid hsl(108, 63%, 30%);
gradient light
background: linear-gradient(to right, hsl(108, 63%, 50%), hsl(108, 63%, 30%));
gradient dark
background: linear-gradient(to right, hsl(108, 63%, 30%), hsl(108, 63%, 10%))
hex
background-color: #307D1C;
tailwind
bg-[hsl(108,63%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(108, 63%, 30%, 0.4);
css variable
--color-primary: hsl(108, 63%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(108, 63%, 30%)?
HEX: #307D1C | RGB: rgb(48, 125, 28) | CMYK: 62%, 0%, 78%, 51% | HSV: 108°, 78%, 49%. Copy any format from the conversion table above.
What colors go well with #307D1C?
The complementary color is HSL(288, 63%, 30%). For a triadic harmony, use hues 108°, 228°, and 348°. For analogous combinations, try hues 78° and 138°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(108, 63%, 30%) in CSS?
As HSL: color: hsl(108, 63%, 30%); — As HEX: color: #307D1C; — As RGB: color: rgb(48, 125, 28); — Tailwind CSS: bg-[hsl(108,63%,30%)] — CSS variable: --color-primary: hsl(108, 63%, 30%);