HSL(131, 25%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(131,25%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(131, 25%, 30%) | color: hsl(131, 25%, 30%) | |
| HEX | #396040 | color: #396040 | |
| RGB | rgb(57, 96, 64) | color: rgb(57, 96, 64) | |
| CMYK | cmyk(41%, 0%, 33%, 62%) | — | |
| HSV | hsv(131, 41%, 38%) | — | |
| HWB | hwb(131 22% 62%) | color: hwb(131 22% 62%) | |
| OKLCH | oklch(0.4504 0.0685 148.82) | color: oklch(0.4504 0.0685 148.82) | |
| Lab | lab(37.12 -21.47 14.05) | color: lab(37.12 -21.47 14.05) | |
| LCH | lch(37.12 25.66 146.8) | color: lch(37.12 25.66 146.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)
#4A4A48 — rgb(74, 74, 72)
Deuteranopia (Green-blind)
#48454A — rgb(72, 69, 74)
Tritanopia (Blue-blind)
#3B4E4F — rgb(59, 78, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(131, 25%, 30%);
text
color: hsl(131, 25%, 30%);
border
border: 2px solid hsl(131, 25%, 30%);
gradient light
background: linear-gradient(to right, hsl(131, 25%, 50%), hsl(131, 25%, 30%));
gradient dark
background: linear-gradient(to right, hsl(131, 25%, 30%), hsl(131, 25%, 10%))
hex
background-color: #396040;
tailwind
bg-[hsl(131,25%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(131, 25%, 30%, 0.4);
css variable
--color-primary: hsl(131, 25%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(131, 25%, 30%)?
HEX: #396040 | RGB: rgb(57, 96, 64) | CMYK: 41%, 0%, 33%, 62% | HSV: 131°, 41%, 38%. Copy any format from the conversion table above.
What colors go well with #396040?
The complementary color is HSL(311, 25%, 30%). For a triadic harmony, use hues 131°, 251°, and 11°. For analogous combinations, try hues 101° and 161°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(131, 25%, 30%) in CSS?
As HSL: color: hsl(131, 25%, 30%); — As HEX: color: #396040; — As RGB: color: rgb(57, 96, 64); — Tailwind CSS: bg-[hsl(131,25%,30%)] — CSS variable: --color-primary: hsl(131, 25%, 30%);