HSL(116, 52%, 27%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(116, 52%, 27%) color: hsl(116, 52%, 27%)
HEX #266921 color: #266921
RGB rgb(38, 105, 33) color: rgb(38, 105, 33)
CMYK cmyk(64%, 0%, 69%, 59%)
HSV hsv(116, 69%, 41%)
HWB hwb(116 13% 59%) color: hwb(116 13% 59%)
OKLCH oklch(0.4615 0.1254 142.16) color: oklch(0.4615 0.1254 142.16)
Lab lab(38.94 -36.35 33.22) color: lab(38.94 -36.35 33.22)
LCH lch(38.94 49.24 137.58) color: lch(38.94 49.24 137.58)

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.72: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)

#434432 — rgb(67, 68, 50)

Deuteranopia (Green-blind)

#3F3A37 — rgb(63, 58, 55)

Tritanopia (Blue-blind)

#294043 — rgb(41, 64, 67)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #266921;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(116, 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(116, 52%, 27%)?

HEX: #266921 | RGB: rgb(38, 105, 33) | CMYK: 64%, 0%, 69%, 59% | HSV: 116°, 69%, 41%. Copy any format from the conversion table above.

What colors go well with #266921?

The complementary color is HSL(296, 52%, 27%). For a triadic harmony, use hues 116°, 236°, and 356°. For analogous combinations, try hues 86° and 146°. See the Color Harmony section above for complete palettes with previews.

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

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