HSL(118, 63%, 30%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(118,63%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(118, 63%, 30%) color: hsl(118, 63%, 30%)
HEX #207D1C color: #207D1C
RGB rgb(32, 125, 28) color: rgb(32, 125, 28)
CMYK cmyk(74%, 0%, 78%, 51%)
HSV hsv(118, 78%, 49%)
HWB hwb(118 11% 51%) color: hwb(118 11% 51%)
OKLCH oklch(0.517 0.1565 142.43) color: oklch(0.517 0.1565 142.43)
Lab lab(45.71 -45.62 42.35) color: lab(45.71 -45.62 42.35)
LCH lch(45.71 62.25 137.13) color: lch(45.71 62.25 137.13)

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 5.23:1
vs Black 4.01: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)

#484933 — rgb(72, 73, 51)

Deuteranopia (Green-blind)

#433C39 — rgb(67, 60, 57)

Tritanopia (Blue-blind)

#25464A — rgb(37, 70, 74)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(118, 63%, 30%);

text

color: hsl(118, 63%, 30%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #207D1C;

tailwind

bg-[hsl(118,63%,30%)]

box shadow

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

css variable

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

HEX: #207D1C | RGB: rgb(32, 125, 28) | CMYK: 74%, 0%, 78%, 51% | HSV: 118°, 78%, 49%. Copy any format from the conversion table above.

What colors go well with #207D1C?

The complementary color is HSL(298, 63%, 30%). 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, 63%, 30%) in CSS?

As HSL: color: hsl(118, 63%, 30%); — As HEX: color: #207D1C; — As RGB: color: rgb(32, 125, 28); — Tailwind CSS: bg-[hsl(118,63%,30%)] — CSS variable: --color-primary: hsl(118, 63%, 30%);