HSL(145, 40%, 37%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(145,40%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(145, 40%, 37%) | color: hsl(145, 40%, 37%) | |
| HEX | #398458 | color: #398458 | |
| RGB | rgb(57, 132, 88) | color: rgb(57, 132, 88) | |
| CMYK | cmyk(57%, 0%, 33%, 48%) | — | |
| HSV | hsv(145, 57%, 52%) | — | |
| HWB | hwb(145 22% 48%) | color: hwb(145 22% 48%) | |
| OKLCH | oklch(0.5536 0.1019 155.22) | color: oklch(0.5536 0.1019 155.22) | |
| Lab | lab(49.59 -33.99 16.92) | color: lab(49.59 -33.99 16.92) | |
| LCH | lch(49.59 37.97 153.54) | color: lch(49.59 37.97 153.54) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#595A63 — rgb(89, 90, 99)
Deuteranopia (Green-blind)
#555065 — rgb(85, 80, 101)
Tritanopia (Blue-blind)
#3D6B6D — rgb(61, 107, 109)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(145, 40%, 37%);
text
color: hsl(145, 40%, 37%);
border
border: 2px solid hsl(145, 40%, 37%);
gradient light
background: linear-gradient(to right, hsl(145, 40%, 57%), hsl(145, 40%, 37%));
gradient dark
background: linear-gradient(to right, hsl(145, 40%, 37%), hsl(145, 40%, 17%))
hex
background-color: #398458;
tailwind
bg-[hsl(145,40%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(145, 40%, 37%, 0.4);
css variable
--color-primary: hsl(145, 40%, 37%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(145, 40%, 37%)?
HEX: #398458 | RGB: rgb(57, 132, 88) | CMYK: 57%, 0%, 33%, 48% | HSV: 145°, 57%, 52%. Copy any format from the conversion table above.
What colors go well with #398458?
The complementary color is HSL(325, 40%, 37%). For a triadic harmony, use hues 145°, 265°, and 25°. For analogous combinations, try hues 115° and 175°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(145, 40%, 37%) in CSS?
As HSL: color: hsl(145, 40%, 37%); — As HEX: color: #398458; — As RGB: color: rgb(57, 132, 88); — Tailwind CSS: bg-[hsl(145,40%,37%)] — CSS variable: --color-primary: hsl(145, 40%, 37%);