HSL(138, 30%, 30%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(138,30%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(138, 30%, 30%) color: hsl(138, 30%, 30%)
HEX #366343 color: #366343
RGB rgb(54, 99, 67) color: rgb(54, 99, 67)
CMYK cmyk(45%, 0%, 32%, 61%)
HSV hsv(137, 45%, 39%)
HWB hwb(137 21% 61%) color: hwb(137 21% 61%)
OKLCH oklch(0.4577 0.0724 151.94) color: oklch(0.4577 0.0724 151.94)
Lab lab(38.04 -23.41 13.47) color: lab(38.04 -23.41 13.47)
LCH lch(38.04 27.01 150.08) color: lch(38.04 27.01 150.08)

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 6.95:1
vs Black 3.02:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#494A4B — rgb(73, 74, 75)

Deuteranopia (Green-blind)

#47444D — rgb(71, 68, 77)

Tritanopia (Blue-blind)

#385152 — rgb(56, 81, 82)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(138, 30%, 30%);

text

color: hsl(138, 30%, 30%);

border

border: 2px solid hsl(138, 30%, 30%);

gradient light

background: linear-gradient(to right, hsl(138, 30%, 50%), hsl(138, 30%, 30%));

gradient dark

background: linear-gradient(to right, hsl(138, 30%, 30%), hsl(138, 30%, 10%))

hex

background-color: #366343;

tailwind

bg-[hsl(138,30%,30%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(138, 30%, 30%, 0.4);

css variable

--color-primary: hsl(138, 30%, 30%);

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(138, 30%, 30%)?

HEX: #366343 | RGB: rgb(54, 99, 67) | CMYK: 45%, 0%, 32%, 61% | HSV: 137°, 45%, 39%. Copy any format from the conversion table above.

What colors go well with #366343?

The complementary color is HSL(318, 30%, 30%). For a triadic harmony, use hues 138°, 258°, and 18°. For analogous combinations, try hues 108° and 168°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(138, 30%, 30%) in CSS?

As HSL: color: hsl(138, 30%, 30%); — As HEX: color: #366343; — As RGB: color: rgb(54, 99, 67); — Tailwind CSS: bg-[hsl(138,30%,30%)] — CSS variable: --color-primary: hsl(138, 30%, 30%);