HSL(90, 50%, 19%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(90,50%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(90, 50%, 19%) color: hsl(90, 50%, 19%)
HEX #304918 color: #304918
RGB rgb(48, 73, 24) color: rgb(48, 73, 24)
CMYK cmyk(34%, 0%, 67%, 71%)
HSV hsv(91, 67%, 29%)
HWB hwb(91 10% 71%) color: hwb(91 10% 71%)
OKLCH oklch(0.3728 0.0803 131.99) color: oklch(0.3728 0.0803 131.99)
Lab lab(28.01 -19.21 25.7) color: lab(28.01 -19.21 25.7)
LCH lch(28.01 32.09 126.78) color: lch(28.01 32.09 126.78)

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.04: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)

#3B3B24 — rgb(59, 59, 36)

Deuteranopia (Green-blind)

#393827 — rgb(57, 56, 39)

Tritanopia (Blue-blind)

#312D2F — rgb(49, 45, 47)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(90, 50%, 19%);

text

color: hsl(90, 50%, 19%);

border

border: 2px solid hsl(90, 50%, 19%);

gradient light

background: linear-gradient(to right, hsl(90, 50%, 39%), hsl(90, 50%, 19%));

gradient dark

background: linear-gradient(to right, hsl(90, 50%, 19%), hsl(90, 50%, 0%))

hex

background-color: #304918;

tailwind

bg-[hsl(90,50%,19%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(90, 50%, 19%, 0.4);

css variable

--color-primary: hsl(90, 50%, 19%);

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(90, 50%, 19%)?

HEX: #304918 | RGB: rgb(48, 73, 24) | CMYK: 34%, 0%, 67%, 71% | HSV: 91°, 67%, 29%. Copy any format from the conversion table above.

What colors go well with #304918?

The complementary color is HSL(270, 50%, 19%). For a triadic harmony, use hues 90°, 210°, and 330°. For analogous combinations, try hues 60° and 120°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(90, 50%, 19%) in CSS?

As HSL: color: hsl(90, 50%, 19%); — As HEX: color: #304918; — As RGB: color: rgb(48, 73, 24); — Tailwind CSS: bg-[hsl(90,50%,19%)] — CSS variable: --color-primary: hsl(90, 50%, 19%);