HSL(107, 54%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(107,54%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(107, 54%, 31%) | color: hsl(107, 54%, 31%) | |
| HEX | #377A24 | color: #377A24 | |
| RGB | rgb(55, 122, 36) | color: rgb(55, 122, 36) | |
| CMYK | cmyk(55%, 0%, 70%, 52%) | — | |
| HSV | hsv(107, 70%, 48%) | — | |
| HWB | hwb(107 14% 52%) | color: hwb(107 14% 52%) | |
| OKLCH | oklch(0.5169 0.1378 139.54) | color: oklch(0.5169 0.1378 139.54) | |
| Lab | lab(45.44 -38.17 39.06) | color: lab(45.44 -38.17 39.06) | |
| LCH | lch(45.44 54.61 134.34) | color: lch(45.44 54.61 134.34) |
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)
#504B3E — rgb(80, 75, 62)
Tritanopia (Blue-blind)
#3A494D — rgb(58, 73, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(107, 54%, 31%);
text
color: hsl(107, 54%, 31%);
border
border: 2px solid hsl(107, 54%, 31%);
gradient light
background: linear-gradient(to right, hsl(107, 54%, 51%), hsl(107, 54%, 31%));
gradient dark
background: linear-gradient(to right, hsl(107, 54%, 31%), hsl(107, 54%, 11%))
hex
background-color: #377A24;
tailwind
bg-[hsl(107,54%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(107, 54%, 31%, 0.4);
css variable
--color-primary: hsl(107, 54%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(107, 54%, 31%)?
HEX: #377A24 | RGB: rgb(55, 122, 36) | CMYK: 55%, 0%, 70%, 52% | HSV: 107°, 70%, 48%. Copy any format from the conversion table above.
What colors go well with #377A24?
The complementary color is HSL(287, 54%, 31%). For a triadic harmony, use hues 107°, 227°, and 347°. For analogous combinations, try hues 77° and 137°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(107, 54%, 31%) in CSS?
As HSL: color: hsl(107, 54%, 31%); — As HEX: color: #377A24; — As RGB: color: rgb(55, 122, 36); — Tailwind CSS: bg-[hsl(107,54%,31%)] — CSS variable: --color-primary: hsl(107, 54%, 31%);