HSL(98, 37%, 41%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(98,37%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(98, 37%, 41%) | color: hsl(98, 37%, 41%) | |
| HEX | #5E8F42 | color: #5E8F42 | |
| RGB | rgb(94, 143, 66) | color: rgb(94, 143, 66) | |
| CMYK | cmyk(34%, 0%, 54%, 44%) | — | |
| HSV | hsv(98, 54%, 56%) | — | |
| HWB | hwb(98 26% 44%) | color: hwb(98 26% 44%) | |
| OKLCH | oklch(0.5969 0.1203 135.39) | color: oklch(0.5969 0.1203 135.39) | |
| Lab | lab(54.47 -31.03 35.46) | color: lab(54.47 -31.03 35.46) | |
| LCH | lch(54.47 47.12 131.19) | color: lch(54.47 47.12 131.19) |
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)
#737455 — rgb(115, 116, 85)
Deuteranopia (Green-blind)
#706D59 — rgb(112, 109, 89)
Tritanopia (Blue-blind)
#606367 — rgb(96, 99, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(98, 37%, 41%);
text
color: hsl(98, 37%, 41%);
border
border: 2px solid hsl(98, 37%, 41%);
gradient light
background: linear-gradient(to right, hsl(98, 37%, 61%), hsl(98, 37%, 41%));
gradient dark
background: linear-gradient(to right, hsl(98, 37%, 41%), hsl(98, 37%, 21%))
hex
background-color: #5E8F42;
tailwind
bg-[hsl(98,37%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(98, 37%, 41%, 0.4);
css variable
--color-primary: hsl(98, 37%, 41%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(98, 37%, 41%)?
HEX: #5E8F42 | RGB: rgb(94, 143, 66) | CMYK: 34%, 0%, 54%, 44% | HSV: 98°, 54%, 56%. Copy any format from the conversion table above.
What colors go well with #5E8F42?
The complementary color is HSL(278, 37%, 41%). For a triadic harmony, use hues 98°, 218°, and 338°. For analogous combinations, try hues 68° and 128°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(98, 37%, 41%) in CSS?
As HSL: color: hsl(98, 37%, 41%); — As HEX: color: #5E8F42; — As RGB: color: rgb(94, 143, 66); — Tailwind CSS: bg-[hsl(98,37%,41%)] — CSS variable: --color-primary: hsl(98, 37%, 41%);