HSL(107, 22%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(107,22%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(107, 22%, 40%) | color: hsl(107, 22%, 40%) | |
| HEX | #597C50 | color: #597C50 | |
| RGB | rgb(89, 124, 80) | color: rgb(89, 124, 80) | |
| CMYK | cmyk(28%, 0%, 35%, 51%) | — | |
| HSV | hsv(108, 35%, 49%) | — | |
| HWB | hwb(108 32% 51%) | color: hwb(108 32% 51%) | |
| OKLCH | oklch(0.5477 0.0773 139.34) | color: oklch(0.5477 0.0773 139.34) | |
| Lab | lab(48.41 -21.5 20.16) | color: lab(48.41 -21.5 20.16) | |
| LCH | lch(48.41 29.47 136.84) | color: lch(48.41 29.47 136.84) |
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)
#68685B — rgb(104, 104, 91)
Deuteranopia (Green-blind)
#66645D — rgb(102, 100, 93)
Tritanopia (Blue-blind)
#5B6365 — rgb(91, 99, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(107, 22%, 40%);
text
color: hsl(107, 22%, 40%);
border
border: 2px solid hsl(107, 22%, 40%);
gradient light
background: linear-gradient(to right, hsl(107, 22%, 60%), hsl(107, 22%, 40%));
gradient dark
background: linear-gradient(to right, hsl(107, 22%, 40%), hsl(107, 22%, 20%))
hex
background-color: #597C50;
tailwind
bg-[hsl(107,22%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(107, 22%, 40%, 0.4);
css variable
--color-primary: hsl(107, 22%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(107, 22%, 40%)?
HEX: #597C50 | RGB: rgb(89, 124, 80) | CMYK: 28%, 0%, 35%, 51% | HSV: 108°, 35%, 49%. Copy any format from the conversion table above.
What colors go well with #597C50?
The complementary color is HSL(287, 22%, 40%). 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, 22%, 40%) in CSS?
As HSL: color: hsl(107, 22%, 40%); — As HEX: color: #597C50; — As RGB: color: rgb(89, 124, 80); — Tailwind CSS: bg-[hsl(107,22%,40%)] — CSS variable: --color-primary: hsl(107, 22%, 40%);