HSL(102, 50%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,50%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 50%, 30%) | color: hsl(102, 50%, 30%) | |
| HEX | #3D7326 | color: #3D7326 | |
| RGB | rgb(61, 115, 38) | color: rgb(61, 115, 38) | |
| CMYK | cmyk(47%, 0%, 67%, 55%) | — | |
| HSV | hsv(102, 67%, 45%) | — | |
| HWB | hwb(102 15% 55%) | color: hwb(102 15% 55%) | |
| OKLCH | oklch(0.5005 0.1235 137.67) | color: oklch(0.5005 0.1235 137.67) | |
| Lab | lab(43.35 -33.06 35.98) | color: lab(43.35 -33.06 35.98) | |
| LCH | lch(43.35 48.86 132.58) | color: lch(43.35 48.86 132.58) |
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)
#545539 — rgb(84, 85, 57)
Deuteranopia (Green-blind)
#514D3D — rgb(81, 77, 61)
Tritanopia (Blue-blind)
#40474B — rgb(64, 71, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 50%, 30%);
text
color: hsl(102, 50%, 30%);
border
border: 2px solid hsl(102, 50%, 30%);
gradient light
background: linear-gradient(to right, hsl(102, 50%, 50%), hsl(102, 50%, 30%));
gradient dark
background: linear-gradient(to right, hsl(102, 50%, 30%), hsl(102, 50%, 10%))
hex
background-color: #3D7326;
tailwind
bg-[hsl(102,50%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 50%, 30%, 0.4);
css variable
--color-primary: hsl(102, 50%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 50%, 30%)?
HEX: #3D7326 | RGB: rgb(61, 115, 38) | CMYK: 47%, 0%, 67%, 55% | HSV: 102°, 67%, 45%. Copy any format from the conversion table above.
What colors go well with #3D7326?
The complementary color is HSL(282, 50%, 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, 50%, 30%) in CSS?
As HSL: color: hsl(102, 50%, 30%); — As HEX: color: #3D7326; — As RGB: color: rgb(61, 115, 38); — Tailwind CSS: bg-[hsl(102,50%,30%)] — CSS variable: --color-primary: hsl(102, 50%, 30%);