HSL(127, 100%, 18%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(127,100%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(127, 100%, 18%) color: hsl(127, 100%, 18%)
HEX #005C0B color: #005C0B
RGB rgb(0, 92, 11) color: rgb(0, 92, 11)
CMYK cmyk(100%, 0%, 88%, 64%)
HSV hsv(127, 100%, 36%)
HWB hwb(127 0% 64%) color: hwb(127 0% 64%)
OKLCH oklch(0.412 0.135 143.65) color: oklch(0.412 0.135 143.65)
Lab lab(33.3 -40.24 36.08) color: lab(33.3 -40.24 36.08)
LCH lch(33.3 54.05 138.12) color: lch(33.3 54.05 138.12)

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 8.28:1
vs Black 2.54: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)

#28291F — rgb(40, 41, 31)

Deuteranopia (Green-blind)

#231C23 — rgb(35, 28, 35)

Tritanopia (Blue-blind)

#052E31 — rgb(5, 46, 49)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(127, 100%, 18%);

text

color: hsl(127, 100%, 18%);

border

border: 2px solid hsl(127, 100%, 18%);

gradient light

background: linear-gradient(to right, hsl(127, 100%, 38%), hsl(127, 100%, 18%));

gradient dark

background: linear-gradient(to right, hsl(127, 100%, 18%), hsl(127, 100%, 0%))

hex

background-color: #005C0B;

tailwind

bg-[hsl(127,100%,18%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(127, 100%, 18%, 0.4);

css variable

--color-primary: hsl(127, 100%, 18%);

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(127, 100%, 18%)?

HEX: #005C0B | RGB: rgb(0, 92, 11) | CMYK: 100%, 0%, 88%, 64% | HSV: 127°, 100%, 36%. Copy any format from the conversion table above.

What colors go well with #005C0B?

The complementary color is HSL(307, 100%, 18%). For a triadic harmony, use hues 127°, 247°, and 7°. For analogous combinations, try hues 97° and 157°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(127, 100%, 18%) in CSS?

As HSL: color: hsl(127, 100%, 18%); — As HEX: color: #005C0B; — As RGB: color: rgb(0, 92, 11); — Tailwind CSS: bg-[hsl(127,100%,18%)] — CSS variable: --color-primary: hsl(127, 100%, 18%);