HSL(125, 26%, 27%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(125,26%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(125, 26%, 27%) color: hsl(125, 26%, 27%)
HEX #335736 color: #335736
RGB rgb(51, 87, 54) color: rgb(51, 87, 54)
CMYK cmyk(41%, 0%, 38%, 66%)
HSV hsv(125, 41%, 34%)
HWB hwb(125 20% 66%) color: hwb(125 20% 66%)
OKLCH oklch(0.4197 0.0683 146.15) color: oklch(0.4197 0.0683 146.15)
Lab lab(33.53 -20.83 15.22) color: lab(33.53 -20.83 15.22)
LCH lch(33.53 25.8 143.85) color: lch(33.53 25.8 143.85)

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.21:1
vs Black 2.56: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)

#43433E — rgb(67, 67, 62)

Deuteranopia (Green-blind)

#413E40 — rgb(65, 62, 64)

Tritanopia (Blue-blind)

#354446 — rgb(53, 68, 70)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(125, 26%, 27%);

text

color: hsl(125, 26%, 27%);

border

border: 2px solid hsl(125, 26%, 27%);

gradient light

background: linear-gradient(to right, hsl(125, 26%, 47%), hsl(125, 26%, 27%));

gradient dark

background: linear-gradient(to right, hsl(125, 26%, 27%), hsl(125, 26%, 7%))

hex

background-color: #335736;

tailwind

bg-[hsl(125,26%,27%)]

box shadow

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

css variable

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

HEX: #335736 | RGB: rgb(51, 87, 54) | CMYK: 41%, 0%, 38%, 66% | HSV: 125°, 41%, 34%. Copy any format from the conversion table above.

What colors go well with #335736?

The complementary color is HSL(305, 26%, 27%). For a triadic harmony, use hues 125°, 245°, and 5°. For analogous combinations, try hues 95° and 155°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(125, 26%, 27%) in CSS?

As HSL: color: hsl(125, 26%, 27%); — As HEX: color: #335736; — As RGB: color: rgb(51, 87, 54); — Tailwind CSS: bg-[hsl(125,26%,27%)] — CSS variable: --color-primary: hsl(125, 26%, 27%);