HSL(148, 30%, 22%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(148,30%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(148, 30%, 22%) | color: hsl(148, 30%, 22%) | |
| HEX | #274937 | color: #274937 | |
| RGB | rgb(39, 73, 55) | color: rgb(39, 73, 55) | |
| CMYK | cmyk(47%, 0%, 25%, 71%) | — | |
| HSV | hsv(148, 47%, 29%) | — | |
| HWB | hwb(148 15% 71%) | color: hwb(148 15% 71%) | |
| OKLCH | oklch(0.3735 0.0509 159.46) | color: oklch(0.3735 0.0509 159.46) | |
| Lab | lab(28.04 -17.24 6.97) | color: lab(28.04 -17.24 6.97) | |
| LCH | lch(28.04 18.6 157.99) | color: lch(28.04 18.6 157.99) |
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)
#36363B — rgb(54, 54, 59)
Deuteranopia (Green-blind)
#34313C — rgb(52, 49, 60)
Tritanopia (Blue-blind)
#293F40 — rgb(41, 63, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(148, 30%, 22%);
text
color: hsl(148, 30%, 22%);
border
border: 2px solid hsl(148, 30%, 22%);
gradient light
background: linear-gradient(to right, hsl(148, 30%, 42%), hsl(148, 30%, 22%));
gradient dark
background: linear-gradient(to right, hsl(148, 30%, 22%), hsl(148, 30%, 2%))
hex
background-color: #274937;
tailwind
bg-[hsl(148,30%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(148, 30%, 22%, 0.4);
css variable
--color-primary: hsl(148, 30%, 22%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(148, 30%, 22%)?
HEX: #274937 | RGB: rgb(39, 73, 55) | CMYK: 47%, 0%, 25%, 71% | HSV: 148°, 47%, 29%. Copy any format from the conversion table above.
What colors go well with #274937?
The complementary color is HSL(328, 30%, 22%). 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, 30%, 22%) in CSS?
As HSL: color: hsl(148, 30%, 22%); — As HEX: color: #274937; — As RGB: color: rgb(39, 73, 55); — Tailwind CSS: bg-[hsl(148,30%,22%)] — CSS variable: --color-primary: hsl(148, 30%, 22%);