HSL(138, 90%, 28%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(138,90%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(138, 90%, 28%) color: hsl(138, 90%, 28%)
HEX #07882E color: #07882E
RGB rgb(7, 136, 46) color: rgb(7, 136, 46)
CMYK cmyk(95%, 0%, 66%, 47%)
HSV hsv(138, 95%, 53%)
HWB hwb(138 3% 47%) color: hwb(138 3% 47%)
OKLCH oklch(0.5465 0.1625 146.48) color: oklch(0.5465 0.1625 146.48)
Lab lab(49.31 -50.43 38.52) color: lab(49.31 -50.43 38.52)
LCH lch(49.31 63.46 142.63) color: lch(49.31 63.46 142.63)

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 4.6:1
vs Black 4.57:1

AA Normal (4.5:1)

on White: PASS ✓ 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: white

Color Blindness Simulation

Protanopia (Red-blind)

#3F4044 — rgb(63, 64, 68)

Deuteranopia (Green-blind)

#372E49 — rgb(55, 46, 73)

Tritanopia (Blue-blind)

#0D5559 — rgb(13, 85, 89)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(138, 90%, 28%);

text

color: hsl(138, 90%, 28%);

border

border: 2px solid hsl(138, 90%, 28%);

gradient light

background: linear-gradient(to right, hsl(138, 90%, 48%), hsl(138, 90%, 28%));

gradient dark

background: linear-gradient(to right, hsl(138, 90%, 28%), hsl(138, 90%, 8%))

hex

background-color: #07882E;

tailwind

bg-[hsl(138,90%,28%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(138, 90%, 28%, 0.4);

css variable

--color-primary: hsl(138, 90%, 28%);

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(138, 90%, 28%)?

HEX: #07882E | RGB: rgb(7, 136, 46) | CMYK: 95%, 0%, 66%, 47% | HSV: 138°, 95%, 53%. Copy any format from the conversion table above.

What colors go well with #07882E?

The complementary color is HSL(318, 90%, 28%). For a triadic harmony, use hues 138°, 258°, and 18°. For analogous combinations, try hues 108° and 168°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(138, 90%, 28%) in CSS?

As HSL: color: hsl(138, 90%, 28%); — As HEX: color: #07882E; — As RGB: color: rgb(7, 136, 46); — Tailwind CSS: bg-[hsl(138,90%,28%)] — CSS variable: --color-primary: hsl(138, 90%, 28%);