HSL(114, 70%, 30%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(114,70%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(114, 70%, 30%) color: hsl(114, 70%, 30%)
HEX #228217 color: #228217
RGB rgb(34, 130, 23) color: rgb(34, 130, 23)
CMYK cmyk(74%, 0%, 82%, 49%)
HSV hsv(114, 82%, 51%)
HWB hwb(114 9% 49%) color: hwb(114 9% 49%)
OKLCH oklch(0.5315 0.1644 141.72) color: oklch(0.5315 0.1644 141.72)
Lab lab(47.45 -47.33 45.77) color: lab(47.45 -47.33 45.77)
LCH lch(47.45 65.84 135.96) color: lch(47.45 65.84 135.96)

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 4.91:1
vs Black 4.27: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)

#4C4C31 — rgb(76, 76, 49)

Deuteranopia (Green-blind)

#463F37 — rgb(70, 63, 55)

Tritanopia (Blue-blind)

#27454A — rgb(39, 69, 74)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(114, 70%, 30%);

text

color: hsl(114, 70%, 30%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #228217;

tailwind

bg-[hsl(114,70%,30%)]

box shadow

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

css variable

--color-primary: hsl(114, 70%, 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(114, 70%, 30%)?

HEX: #228217 | RGB: rgb(34, 130, 23) | CMYK: 74%, 0%, 82%, 49% | HSV: 114°, 82%, 51%. Copy any format from the conversion table above.

What colors go well with #228217?

The complementary color is HSL(294, 70%, 30%). For a triadic harmony, use hues 114°, 234°, and 354°. For analogous combinations, try hues 84° and 144°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(114, 70%, 30%); — As HEX: color: #228217; — As RGB: color: rgb(34, 130, 23); — Tailwind CSS: bg-[hsl(114,70%,30%)] — CSS variable: --color-primary: hsl(114, 70%, 30%);