HSL(102, 80%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,80%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 80%, 30%) | color: hsl(102, 80%, 30%) | |
| HEX | #348A0F | color: #348A0F | |
| RGB | rgb(52, 138, 15) | color: rgb(52, 138, 15) | |
| CMYK | cmyk(62%, 0%, 89%, 46%) | — | |
| HSV | hsv(102, 89%, 54%) | — | |
| HWB | hwb(102 6% 46%) | color: hwb(102 6% 46%) | |
| OKLCH | oklch(0.559 0.17 139.05) | color: oklch(0.559 0.17 139.05) | |
| Lab | lab(50.62 -46.54 50.97) | color: lab(50.62 -46.54 50.97) | |
| LCH | lch(50.62 69.02 132.4) | color: lch(50.62 69.02 132.4) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#595A2D — rgb(89, 90, 45)
Deuteranopia (Green-blind)
#544E34 — rgb(84, 78, 52)
Tritanopia (Blue-blind)
#384449 — rgb(56, 68, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 80%, 30%);
text
color: hsl(102, 80%, 30%);
border
border: 2px solid hsl(102, 80%, 30%);
gradient light
background: linear-gradient(to right, hsl(102, 80%, 50%), hsl(102, 80%, 30%));
gradient dark
background: linear-gradient(to right, hsl(102, 80%, 30%), hsl(102, 80%, 10%))
hex
background-color: #348A0F;
tailwind
bg-[hsl(102,80%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 80%, 30%, 0.4);
css variable
--color-primary: hsl(102, 80%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 80%, 30%)?
HEX: #348A0F | RGB: rgb(52, 138, 15) | CMYK: 62%, 0%, 89%, 46% | HSV: 102°, 89%, 54%. Copy any format from the conversion table above.
What colors go well with #348A0F?
The complementary color is HSL(282, 80%, 30%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(102, 80%, 30%) in CSS?
As HSL: color: hsl(102, 80%, 30%); — As HEX: color: #348A0F; — As RGB: color: rgb(52, 138, 15); — Tailwind CSS: bg-[hsl(102,80%,30%)] — CSS variable: --color-primary: hsl(102, 80%, 30%);