HSL(127, 43%, 34%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,43%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 43%, 34%) | color: hsl(127, 43%, 34%) | |
| HEX | #317C3A | color: #317C3A | |
| RGB | rgb(49, 124, 58) | color: rgb(49, 124, 58) | |
| CMYK | cmyk(60%, 0%, 53%, 51%) | — | |
| HSV | hsv(127, 60%, 49%) | — | |
| HWB | hwb(127 20% 51%) | color: hwb(127 20% 51%) | |
| OKLCH | oklch(0.5229 0.1244 145.75) | color: oklch(0.5229 0.1244 145.75) | |
| Lab | lab(46.14 -37.96 29.04) | color: lab(46.14 -37.96 29.04) | |
| LCH | lch(46.14 47.79 142.58) | color: lch(46.14 47.79 142.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)
#51524A — rgb(81, 82, 74)
Deuteranopia (Green-blind)
#4D484E — rgb(77, 72, 78)
Tritanopia (Blue-blind)
#355759 — rgb(53, 87, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 43%, 34%);
text
color: hsl(127, 43%, 34%);
border
border: 2px solid hsl(127, 43%, 34%);
gradient light
background: linear-gradient(to right, hsl(127, 43%, 54%), hsl(127, 43%, 34%));
gradient dark
background: linear-gradient(to right, hsl(127, 43%, 34%), hsl(127, 43%, 14%))
hex
background-color: #317C3A;
tailwind
bg-[hsl(127,43%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 43%, 34%, 0.4);
css variable
--color-primary: hsl(127, 43%, 34%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 43%, 34%)?
HEX: #317C3A | RGB: rgb(49, 124, 58) | CMYK: 60%, 0%, 53%, 51% | HSV: 127°, 60%, 49%. Copy any format from the conversion table above.
What colors go well with #317C3A?
The complementary color is HSL(307, 43%, 34%). For a triadic harmony, use hues 127°, 247°, and 7°. For analogous combinations, try hues 97° and 157°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(127, 43%, 34%) in CSS?
As HSL: color: hsl(127, 43%, 34%); — As HEX: color: #317C3A; — As RGB: color: rgb(49, 124, 58); — Tailwind CSS: bg-[hsl(127,43%,34%)] — CSS variable: --color-primary: hsl(127, 43%, 34%);