HSL(148, 50%, 32%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(148,50%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(148, 50%, 32%) | color: hsl(148, 50%, 32%) | |
| HEX | #297A4F | color: #297A4F | |
| RGB | rgb(41, 122, 79) | color: rgb(41, 122, 79) | |
| CMYK | cmyk(66%, 0%, 35%, 52%) | — | |
| HSV | hsv(148, 66%, 48%) | — | |
| HWB | hwb(148 16% 52%) | color: hwb(148 16% 52%) | |
| OKLCH | oklch(0.5186 0.1041 156.38) | color: oklch(0.5186 0.1041 156.38) | |
| Lab | lab(45.57 -35.12 16.55) | color: lab(45.57 -35.12 16.55) | |
| LCH | lch(45.57 38.82 154.77) | color: lch(45.57 38.82 154.77) |
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)
#4C4D59 — rgb(76, 77, 89)
Deuteranopia (Green-blind)
#47415C — rgb(71, 65, 92)
Tritanopia (Blue-blind)
#2D6263 — rgb(45, 98, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(148, 50%, 32%);
text
color: hsl(148, 50%, 32%);
border
border: 2px solid hsl(148, 50%, 32%);
gradient light
background: linear-gradient(to right, hsl(148, 50%, 52%), hsl(148, 50%, 32%));
gradient dark
background: linear-gradient(to right, hsl(148, 50%, 32%), hsl(148, 50%, 12%))
hex
background-color: #297A4F;
tailwind
bg-[hsl(148,50%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(148, 50%, 32%, 0.4);
css variable
--color-primary: hsl(148, 50%, 32%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(148, 50%, 32%)?
HEX: #297A4F | RGB: rgb(41, 122, 79) | CMYK: 66%, 0%, 35%, 52% | HSV: 148°, 66%, 48%. Copy any format from the conversion table above.
What colors go well with #297A4F?
The complementary color is HSL(328, 50%, 32%). 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, 50%, 32%) in CSS?
As HSL: color: hsl(148, 50%, 32%); — As HEX: color: #297A4F; — As RGB: color: rgb(41, 122, 79); — Tailwind CSS: bg-[hsl(148,50%,32%)] — CSS variable: --color-primary: hsl(148, 50%, 32%);