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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 10.03:1
vs Black 2.09:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Success states Eco/nature brands Finance apps Health apps Confirm buttons

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%);