HSL(130, 30%, 27%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(130,30%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(130, 30%, 27%) | color: hsl(130, 30%, 27%) | |
| HEX | #305A37 | color: #305A37 | |
| RGB | rgb(48, 90, 55) | color: rgb(48, 90, 55) | |
| CMYK | cmyk(47%, 0%, 39%, 65%) | — | |
| HSV | hsv(130, 47%, 35%) | — | |
| HWB | hwb(130 19% 65%) | color: hwb(130 19% 65%) | |
| OKLCH | oklch(0.4267 0.0745 148.04) | color: oklch(0.4267 0.0745 148.04) | |
| Lab | lab(34.43 -23.22 15.78) | color: lab(34.43 -23.22 15.78) | |
| LCH | lch(34.43 28.07 145.8) | color: lch(34.43 28.07 145.8) |
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)
#42433F — rgb(66, 67, 63)
Deuteranopia (Green-blind)
#403D42 — rgb(64, 61, 66)
Tritanopia (Blue-blind)
#324648 — rgb(50, 70, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(130, 30%, 27%);
text
color: hsl(130, 30%, 27%);
border
border: 2px solid hsl(130, 30%, 27%);
gradient light
background: linear-gradient(to right, hsl(130, 30%, 47%), hsl(130, 30%, 27%));
gradient dark
background: linear-gradient(to right, hsl(130, 30%, 27%), hsl(130, 30%, 7%))
hex
background-color: #305A37;
tailwind
bg-[hsl(130,30%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(130, 30%, 27%, 0.4);
css variable
--color-primary: hsl(130, 30%, 27%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(130, 30%, 27%)?
HEX: #305A37 | RGB: rgb(48, 90, 55) | CMYK: 47%, 0%, 39%, 65% | HSV: 130°, 47%, 35%. Copy any format from the conversion table above.
What colors go well with #305A37?
The complementary color is HSL(310, 30%, 27%). For a triadic harmony, use hues 130°, 250°, and 10°. For analogous combinations, try hues 100° and 160°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(130, 30%, 27%) in CSS?
As HSL: color: hsl(130, 30%, 27%); — As HEX: color: #305A37; — As RGB: color: rgb(48, 90, 55); — Tailwind CSS: bg-[hsl(130,30%,27%)] — CSS variable: --color-primary: hsl(130, 30%, 27%);