HSL(118, 62%, 23%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(118,62%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(118, 62%, 23%) color: hsl(118, 62%, 23%)
HEX #195F16 color: #195F16
RGB rgb(25, 95, 22) color: rgb(25, 95, 22)
CMYK cmyk(74%, 0%, 77%, 63%)
HSV hsv(118, 77%, 37%)
HWB hwb(118 9% 63%) color: hwb(118 9% 63%)
OKLCH oklch(0.4267 0.1258 142.47) color: oklch(0.4267 0.1258 142.47)
Lab lab(34.9 -36.69 33.74) color: lab(34.9 -36.69 33.74)
LCH lch(34.9 49.85 137.4) color: lch(34.9 49.85 137.4)

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 7.81:1
vs Black 2.69: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)

#373828 — rgb(55, 56, 40)

Deuteranopia (Green-blind)

#332E2C — rgb(51, 46, 44)

Tritanopia (Blue-blind)

#1D3639 — rgb(29, 54, 57)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(118, 62%, 23%);

text

color: hsl(118, 62%, 23%);

border

border: 2px solid hsl(118, 62%, 23%);

gradient light

background: linear-gradient(to right, hsl(118, 62%, 43%), hsl(118, 62%, 23%));

gradient dark

background: linear-gradient(to right, hsl(118, 62%, 23%), hsl(118, 62%, 3%))

hex

background-color: #195F16;

tailwind

bg-[hsl(118,62%,23%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(118, 62%, 23%, 0.4);

css variable

--color-primary: hsl(118, 62%, 23%);

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(118, 62%, 23%)?

HEX: #195F16 | RGB: rgb(25, 95, 22) | CMYK: 74%, 0%, 77%, 63% | HSV: 118°, 77%, 37%. Copy any format from the conversion table above.

What colors go well with #195F16?

The complementary color is HSL(298, 62%, 23%). For a triadic harmony, use hues 118°, 238°, and 358°. For analogous combinations, try hues 88° and 148°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(118, 62%, 23%) in CSS?

As HSL: color: hsl(118, 62%, 23%); — As HEX: color: #195F16; — As RGB: color: rgb(25, 95, 22); — Tailwind CSS: bg-[hsl(118,62%,23%)] — CSS variable: --color-primary: hsl(118, 62%, 23%);