HSL(112, 63%, 25%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(112,63%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(112, 63%, 25%) color: hsl(112, 63%, 25%)
HEX #226818 color: #226818
RGB rgb(34, 104, 24) color: rgb(34, 104, 24)
CMYK cmyk(67%, 0%, 77%, 59%)
HSV hsv(113, 77%, 41%)
HWB hwb(113 9% 59%) color: hwb(113 9% 59%)
OKLCH oklch(0.4564 0.1324 141.33) color: oklch(0.4564 0.1324 141.33)
Lab lab(38.39 -37.86 36.56) color: lab(38.39 -37.86 36.56)
LCH lch(38.39 52.63 136) color: lch(38.39 52.63 136)

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.86:1
vs Black 3.06: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)

#40412B — rgb(64, 65, 43)

Deuteranopia (Green-blind)

#3C3730 — rgb(60, 55, 48)

Tritanopia (Blue-blind)

#263B3E — rgb(38, 59, 62)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(112, 63%, 25%);

text

color: hsl(112, 63%, 25%);

border

border: 2px solid hsl(112, 63%, 25%);

gradient light

background: linear-gradient(to right, hsl(112, 63%, 45%), hsl(112, 63%, 25%));

gradient dark

background: linear-gradient(to right, hsl(112, 63%, 25%), hsl(112, 63%, 5%))

hex

background-color: #226818;

tailwind

bg-[hsl(112,63%,25%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(112, 63%, 25%, 0.4);

css variable

--color-primary: hsl(112, 63%, 25%);

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(112, 63%, 25%)?

HEX: #226818 | RGB: rgb(34, 104, 24) | CMYK: 67%, 0%, 77%, 59% | HSV: 113°, 77%, 41%. Copy any format from the conversion table above.

What colors go well with #226818?

The complementary color is HSL(292, 63%, 25%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(112, 63%, 25%) in CSS?

As HSL: color: hsl(112, 63%, 25%); — As HEX: color: #226818; — As RGB: color: rgb(34, 104, 24); — Tailwind CSS: bg-[hsl(112,63%,25%)] — CSS variable: --color-primary: hsl(112, 63%, 25%);