HSL(115, 52%, 27%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(115,52%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(115, 52%, 27%) color: hsl(115, 52%, 27%)
HEX #276921 color: #276921
RGB rgb(39, 105, 33) color: rgb(39, 105, 33)
CMYK cmyk(63%, 0%, 69%, 59%)
HSV hsv(115, 69%, 41%)
HWB hwb(115 13% 59%) color: hwb(115 13% 59%)
OKLCH oklch(0.4619 0.1249 141.95) color: oklch(0.4619 0.1249 141.95)
Lab lab(38.97 -36.09 33.27) color: lab(38.97 -36.09 33.27)
LCH lch(38.97 49.09 137.33) color: lch(38.97 49.09 137.33)

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.71:1
vs Black 3.13: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)

#444432 — rgb(68, 68, 50)

Deuteranopia (Green-blind)

#403B37 — rgb(64, 59, 55)

Tritanopia (Blue-blind)

#2A4043 — rgb(42, 64, 67)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(115, 52%, 27%);

text

color: hsl(115, 52%, 27%);

border

border: 2px solid hsl(115, 52%, 27%);

gradient light

background: linear-gradient(to right, hsl(115, 52%, 47%), hsl(115, 52%, 27%));

gradient dark

background: linear-gradient(to right, hsl(115, 52%, 27%), hsl(115, 52%, 7%))

hex

background-color: #276921;

tailwind

bg-[hsl(115,52%,27%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(115, 52%, 27%, 0.4);

css variable

--color-primary: hsl(115, 52%, 27%);

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(115, 52%, 27%)?

HEX: #276921 | RGB: rgb(39, 105, 33) | CMYK: 63%, 0%, 69%, 59% | HSV: 115°, 69%, 41%. Copy any format from the conversion table above.

What colors go well with #276921?

The complementary color is HSL(295, 52%, 27%). For a triadic harmony, use hues 115°, 235°, and 355°. For analogous combinations, try hues 85° and 145°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(115, 52%, 27%) in CSS?

As HSL: color: hsl(115, 52%, 27%); — As HEX: color: #276921; — As RGB: color: rgb(39, 105, 33); — Tailwind CSS: bg-[hsl(115,52%,27%)] — CSS variable: --color-primary: hsl(115, 52%, 27%);