HSL(106, 20%, 45%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(106,20%,45%)]

Color Conversions

Format Value CSS Usage
HSL hsl(106, 20%, 45%) color: hsl(106, 20%, 45%)
HEX #678A5C color: #678A5C
RGB rgb(103, 138, 92) color: rgb(103, 138, 92)
CMYK cmyk(25%, 0%, 33%, 46%)
HSV hsv(106, 33%, 54%)
HWB hwb(106 36% 46%) color: hwb(106 36% 46%)
OKLCH oklch(0.5946 0.0784 138.36) color: oklch(0.5946 0.0784 138.36)
Lab lab(53.85 -21.51 20.79) color: lab(53.85 -21.51 20.79)
LCH lch(53.85 29.91 135.98) color: lch(53.85 29.91 135.98)

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 3.91:1
vs Black 5.37:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#767667 — rgb(118, 118, 103)

Deuteranopia (Green-blind)

#74726A — rgb(116, 114, 106)

Tritanopia (Blue-blind)

#697072 — rgb(105, 112, 114)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(106, 20%, 45%);

text

color: hsl(106, 20%, 45%);

border

border: 2px solid hsl(106, 20%, 45%);

gradient light

background: linear-gradient(to right, hsl(106, 20%, 65%), hsl(106, 20%, 45%));

gradient dark

background: linear-gradient(to right, hsl(106, 20%, 45%), hsl(106, 20%, 25%))

hex

background-color: #678A5C;

tailwind

bg-[hsl(106,20%,45%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(106, 20%, 45%, 0.4);

css variable

--color-primary: hsl(106, 20%, 45%);

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(106, 20%, 45%)?

HEX: #678A5C | RGB: rgb(103, 138, 92) | CMYK: 25%, 0%, 33%, 46% | HSV: 106°, 33%, 54%. Copy any format from the conversion table above.

What colors go well with #678A5C?

The complementary color is HSL(286, 20%, 45%). For a triadic harmony, use hues 106°, 226°, and 346°. For analogous combinations, try hues 76° and 136°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(106, 20%, 45%) in CSS?

As HSL: color: hsl(106, 20%, 45%); — As HEX: color: #678A5C; — As RGB: color: rgb(103, 138, 92); — Tailwind CSS: bg-[hsl(106,20%,45%)] — CSS variable: --color-primary: hsl(106, 20%, 45%);