HSL(137, 23%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(137,23%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(137, 23%, 40%) | color: hsl(137, 23%, 40%) | |
| HEX | #4F7D5C | color: #4F7D5C | |
| RGB | rgb(79, 125, 92) | color: rgb(79, 125, 92) | |
| CMYK | cmyk(37%, 0%, 26%, 51%) | — | |
| HSV | hsv(137, 37%, 49%) | — | |
| HWB | hwb(137 31% 51%) | color: hwb(137 31% 51%) | |
| OKLCH | oklch(0.5468 0.0723 152.41) | color: oklch(0.5468 0.0723 152.41) | |
| Lab | lab(48.39 -23.34 13.13) | color: lab(48.39 -23.34 13.13) | |
| LCH | lch(48.39 26.78 150.64) | color: lch(48.39 26.78 150.64) |
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)
#636364 — rgb(99, 99, 100)
Deuteranopia (Green-blind)
#605D66 — rgb(96, 93, 102)
Tritanopia (Blue-blind)
#516A6C — rgb(81, 106, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(137, 23%, 40%);
text
color: hsl(137, 23%, 40%);
border
border: 2px solid hsl(137, 23%, 40%);
gradient light
background: linear-gradient(to right, hsl(137, 23%, 60%), hsl(137, 23%, 40%));
gradient dark
background: linear-gradient(to right, hsl(137, 23%, 40%), hsl(137, 23%, 20%))
hex
background-color: #4F7D5C;
tailwind
bg-[hsl(137,23%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(137, 23%, 40%, 0.4);
css variable
--color-primary: hsl(137, 23%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(137, 23%, 40%)?
HEX: #4F7D5C | RGB: rgb(79, 125, 92) | CMYK: 37%, 0%, 26%, 51% | HSV: 137°, 37%, 49%. Copy any format from the conversion table above.
What colors go well with #4F7D5C?
The complementary color is HSL(317, 23%, 40%). 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, 23%, 40%) in CSS?
As HSL: color: hsl(137, 23%, 40%); — As HEX: color: #4F7D5C; — As RGB: color: rgb(79, 125, 92); — Tailwind CSS: bg-[hsl(137,23%,40%)] — CSS variable: --color-primary: hsl(137, 23%, 40%);