HSL(107, 21%, 45%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(107,21%,45%)]

Color Conversions

Format Value CSS Usage
HSL hsl(107, 21%, 45%) color: hsl(107, 21%, 45%)
HEX #658B5B color: #658B5B
RGB rgb(101, 139, 91) color: rgb(101, 139, 91)
CMYK cmyk(27%, 0%, 35%, 45%)
HSV hsv(108, 35%, 55%)
HWB hwb(108 36% 45%) color: hwb(108 36% 45%)
OKLCH oklch(0.5955 0.0825 139.23) color: oklch(0.5955 0.0825 139.23)
Lab lab(54.01 -22.93 21.55) color: lab(54.01 -22.93 21.55)
LCH lch(54.01 31.47 136.78) color: lch(54.01 31.47 136.78)

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.89:1
vs Black 5.4: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)

#757667 — rgb(117, 118, 103)

Deuteranopia (Green-blind)

#737069 — rgb(115, 112, 105)

Tritanopia (Blue-blind)

#677072 — rgb(103, 112, 114)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(107, 21%, 45%);

text

color: hsl(107, 21%, 45%);

border

border: 2px solid hsl(107, 21%, 45%);

gradient light

background: linear-gradient(to right, hsl(107, 21%, 65%), hsl(107, 21%, 45%));

gradient dark

background: linear-gradient(to right, hsl(107, 21%, 45%), hsl(107, 21%, 25%))

hex

background-color: #658B5B;

tailwind

bg-[hsl(107,21%,45%)]

box shadow

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

css variable

--color-primary: hsl(107, 21%, 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(107, 21%, 45%)?

HEX: #658B5B | RGB: rgb(101, 139, 91) | CMYK: 27%, 0%, 35%, 45% | HSV: 108°, 35%, 55%. Copy any format from the conversion table above.

What colors go well with #658B5B?

The complementary color is HSL(287, 21%, 45%). For a triadic harmony, use hues 107°, 227°, and 347°. For analogous combinations, try hues 77° and 137°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(107, 21%, 45%) in CSS?

As HSL: color: hsl(107, 21%, 45%); — As HEX: color: #658B5B; — As RGB: color: rgb(101, 139, 91); — Tailwind CSS: bg-[hsl(107,21%,45%)] — CSS variable: --color-primary: hsl(107, 21%, 45%);