HSL(102, 27%, 43%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(102,27%,43%)]

Color Conversions

Format Value CSS Usage
HSL hsl(102, 27%, 43%) color: hsl(102, 27%, 43%)
HEX #628B50 color: #628B50
RGB rgb(98, 139, 80) color: rgb(98, 139, 80)
CMYK cmyk(29%, 0%, 42%, 45%)
HSV hsv(102, 42%, 55%)
HWB hwb(102 32% 45%) color: hwb(102 32% 45%)
OKLCH oklch(0.5914 0.0969 136.65) color: oklch(0.5914 0.0969 136.65)
Lab lab(53.64 -25.75 27.11) color: lab(53.64 -25.75 27.11)
LCH lch(53.64 37.39 133.53) color: lch(53.64 37.39 133.53)

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.94:1
vs Black 5.33: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)

#74745E — rgb(116, 116, 94)

Deuteranopia (Green-blind)

#716E62 — rgb(113, 110, 98)

Tritanopia (Blue-blind)

#646A6C — rgb(100, 106, 108)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(102, 27%, 43%);

text

color: hsl(102, 27%, 43%);

border

border: 2px solid hsl(102, 27%, 43%);

gradient light

background: linear-gradient(to right, hsl(102, 27%, 63%), hsl(102, 27%, 43%));

gradient dark

background: linear-gradient(to right, hsl(102, 27%, 43%), hsl(102, 27%, 23%))

hex

background-color: #628B50;

tailwind

bg-[hsl(102,27%,43%)]

box shadow

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

css variable

--color-primary: hsl(102, 27%, 43%);

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(102, 27%, 43%)?

HEX: #628B50 | RGB: rgb(98, 139, 80) | CMYK: 29%, 0%, 42%, 45% | HSV: 102°, 42%, 55%. Copy any format from the conversion table above.

What colors go well with #628B50?

The complementary color is HSL(282, 27%, 43%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(102, 27%, 43%) in CSS?

As HSL: color: hsl(102, 27%, 43%); — As HEX: color: #628B50; — As RGB: color: rgb(98, 139, 80); — Tailwind CSS: bg-[hsl(102,27%,43%)] — CSS variable: --color-primary: hsl(102, 27%, 43%);