HSL(148, 49%, 38%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(148,49%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(148, 49%, 38%) | color: hsl(148, 49%, 38%) | |
| HEX | #31905E | color: #31905E | |
| RGB | rgb(49, 144, 94) | color: rgb(49, 144, 94) | |
| CMYK | cmyk(66%, 0%, 35%, 44%) | — | |
| HSV | hsv(148, 66%, 56%) | — | |
| HWB | hwb(148 19% 44%) | color: hwb(148 19% 44%) | |
| OKLCH | oklch(0.5845 0.1178 156.49) | color: oklch(0.5845 0.1178 156.49) | |
| Lab | lab(53.39 -39.78 18.65) | color: lab(53.39 -39.78 18.65) | |
| LCH | lch(53.39 43.93 154.88) | color: lch(53.39 43.93 154.88) |
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)
#5A5B6A — rgb(90, 91, 106)
Deuteranopia (Green-blind)
#554E6D — rgb(85, 78, 109)
Tritanopia (Blue-blind)
#367476 — rgb(54, 116, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(148, 49%, 38%);
text
color: hsl(148, 49%, 38%);
border
border: 2px solid hsl(148, 49%, 38%);
gradient light
background: linear-gradient(to right, hsl(148, 49%, 58%), hsl(148, 49%, 38%));
gradient dark
background: linear-gradient(to right, hsl(148, 49%, 38%), hsl(148, 49%, 18%))
hex
background-color: #31905E;
tailwind
bg-[hsl(148,49%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(148, 49%, 38%, 0.4);
css variable
--color-primary: hsl(148, 49%, 38%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(148, 49%, 38%)?
HEX: #31905E | RGB: rgb(49, 144, 94) | CMYK: 66%, 0%, 35%, 44% | HSV: 148°, 66%, 56%. Copy any format from the conversion table above.
What colors go well with #31905E?
The complementary color is HSL(328, 49%, 38%). For a triadic harmony, use hues 148°, 268°, and 28°. For analogous combinations, try hues 118° and 178°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(148, 49%, 38%) in CSS?
As HSL: color: hsl(148, 49%, 38%); — As HEX: color: #31905E; — As RGB: color: rgb(49, 144, 94); — Tailwind CSS: bg-[hsl(148,49%,38%)] — CSS variable: --color-primary: hsl(148, 49%, 38%);