HSL(102, 79%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,79%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 79%, 30%) | color: hsl(102, 79%, 30%) | |
| HEX | #348910 | color: #348910 | |
| RGB | rgb(52, 137, 16) | color: rgb(52, 137, 16) | |
| CMYK | cmyk(62%, 0%, 88%, 46%) | — | |
| HSV | hsv(102, 88%, 54%) | — | |
| HWB | hwb(102 6% 46%) | color: hwb(102 6% 46%) | |
| OKLCH | oklch(0.5563 0.1685 139.05) | color: oklch(0.5563 0.1685 139.05) | |
| Lab | lab(50.28 -46.14 50.45) | color: lab(50.28 -46.14 50.45) | |
| LCH | lch(50.28 68.37 132.45) | color: lch(50.28 68.37 132.45) |
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, 79%, 30%);
text
color: hsl(102, 79%, 30%);
border
border: 2px solid hsl(102, 79%, 30%);
gradient light
background: linear-gradient(to right, hsl(102, 79%, 50%), hsl(102, 79%, 30%));
gradient dark
background: linear-gradient(to right, hsl(102, 79%, 30%), hsl(102, 79%, 10%))
hex
background-color: #348910;
tailwind
bg-[hsl(102,79%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 79%, 30%, 0.4);
css variable
--color-primary: hsl(102, 79%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 79%, 30%)?
HEX: #348910 | RGB: rgb(52, 137, 16) | CMYK: 62%, 0%, 88%, 46% | HSV: 102°, 88%, 54%. Copy any format from the conversion table above.
What colors go well with #348910?
The complementary color is HSL(282, 79%, 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, 79%, 30%) in CSS?
As HSL: color: hsl(102, 79%, 30%); — As HEX: color: #348910; — As RGB: color: rgb(52, 137, 16); — Tailwind CSS: bg-[hsl(102,79%,30%)] — CSS variable: --color-primary: hsl(102, 79%, 30%);