HSL(137, 31%, 24%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(137,31%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(137, 31%, 24%) | color: hsl(137, 31%, 24%) | |
| HEX | #2A5035 | color: #2A5035 | |
| RGB | rgb(42, 80, 53) | color: rgb(42, 80, 53) | |
| CMYK | cmyk(48%, 0%, 34%, 69%) | — | |
| HSV | hsv(137, 48%, 31%) | — | |
| HWB | hwb(137 16% 69%) | color: hwb(137 16% 69%) | |
| OKLCH | oklch(0.3946 0.0634 151.89) | color: oklch(0.3946 0.0634 151.89) | |
| Lab | lab(30.61 -20.47 11.81) | color: lab(30.61 -20.47 11.81) | |
| LCH | lch(30.61 23.63 150.02) | color: lch(30.61 23.63 150.02) |
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)
#3A3B3C — rgb(58, 59, 60)
Deuteranopia (Green-blind)
#38353D — rgb(56, 53, 61)
Tritanopia (Blue-blind)
#2C4142 — rgb(44, 65, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(137, 31%, 24%);
text
color: hsl(137, 31%, 24%);
border
border: 2px solid hsl(137, 31%, 24%);
gradient light
background: linear-gradient(to right, hsl(137, 31%, 44%), hsl(137, 31%, 24%));
gradient dark
background: linear-gradient(to right, hsl(137, 31%, 24%), hsl(137, 31%, 4%))
hex
background-color: #2A5035;
tailwind
bg-[hsl(137,31%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(137, 31%, 24%, 0.4);
css variable
--color-primary: hsl(137, 31%, 24%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(137, 31%, 24%)?
HEX: #2A5035 | RGB: rgb(42, 80, 53) | CMYK: 48%, 0%, 34%, 69% | HSV: 137°, 48%, 31%. Copy any format from the conversion table above.
What colors go well with #2A5035?
The complementary color is HSL(317, 31%, 24%). For a triadic harmony, use hues 137°, 257°, and 17°. For analogous combinations, try hues 107° and 167°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(137, 31%, 24%) in CSS?
As HSL: color: hsl(137, 31%, 24%); — As HEX: color: #2A5035; — As RGB: color: rgb(42, 80, 53); — Tailwind CSS: bg-[hsl(137,31%,24%)] — CSS variable: --color-primary: hsl(137, 31%, 24%);