HSL(117, 50%, 28%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(117,50%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(117, 50%, 28%) color: hsl(117, 50%, 28%)
HEX #276B24 color: #276B24
RGB rgb(39, 107, 36) color: rgb(39, 107, 36)
CMYK cmyk(64%, 0%, 66%, 58%)
HSV hsv(117, 66%, 42%)
HWB hwb(117 14% 58%) color: hwb(117 14% 58%)
OKLCH oklch(0.468 0.1252 142.61) color: oklch(0.468 0.1252 142.61)
Lab lab(39.7 -36.56 32.64) color: lab(39.7 -36.56 32.64)
LCH lch(39.7 49.01 138.24) color: lch(39.7 49.01 138.24)

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.53:1
vs Black 3.21: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)

#444535 — rgb(68, 69, 53)

Deuteranopia (Green-blind)

#413B39 — rgb(65, 59, 57)

Tritanopia (Blue-blind)

#2A4346 — rgb(42, 67, 70)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(117, 50%, 28%);

text

color: hsl(117, 50%, 28%);

border

border: 2px solid hsl(117, 50%, 28%);

gradient light

background: linear-gradient(to right, hsl(117, 50%, 48%), hsl(117, 50%, 28%));

gradient dark

background: linear-gradient(to right, hsl(117, 50%, 28%), hsl(117, 50%, 8%))

hex

background-color: #276B24;

tailwind

bg-[hsl(117,50%,28%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(117, 50%, 28%, 0.4);

css variable

--color-primary: hsl(117, 50%, 28%);

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(117, 50%, 28%)?

HEX: #276B24 | RGB: rgb(39, 107, 36) | CMYK: 64%, 0%, 66%, 58% | HSV: 117°, 66%, 42%. Copy any format from the conversion table above.

What colors go well with #276B24?

The complementary color is HSL(297, 50%, 28%). For a triadic harmony, use hues 117°, 237°, and 357°. For analogous combinations, try hues 87° and 147°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(117, 50%, 28%) in CSS?

As HSL: color: hsl(117, 50%, 28%); — As HEX: color: #276B24; — As RGB: color: rgb(39, 107, 36); — Tailwind CSS: bg-[hsl(117,50%,28%)] — CSS variable: --color-primary: hsl(117, 50%, 28%);