HSL(94, 76%, 31%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(94,76%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(94, 76%, 31%) color: hsl(94, 76%, 31%)
HEX #478B13 color: #478B13
RGB rgb(71, 139, 19) color: rgb(71, 139, 19)
CMYK cmyk(49%, 0%, 86%, 45%)
HSV hsv(94, 86%, 55%)
HWB hwb(94 8% 45%) color: hwb(94 8% 45%)
OKLCH oklch(0.5697 0.1608 135.76) color: oklch(0.5697 0.1608 135.76)
Lab lab(51.67 -41.2 51.21) color: lab(51.67 -41.2 51.21)
LCH lch(51.67 65.73 128.82) color: lch(51.67 65.73 128.82)

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.23:1
vs Black 4.97: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)

#646530 — rgb(100, 101, 48)

Deuteranopia (Green-blind)

#615B37 — rgb(97, 91, 55)

Tritanopia (Blue-blind)

#4A474C — rgb(74, 71, 76)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(94, 76%, 31%);

text

color: hsl(94, 76%, 31%);

border

border: 2px solid hsl(94, 76%, 31%);

gradient light

background: linear-gradient(to right, hsl(94, 76%, 51%), hsl(94, 76%, 31%));

gradient dark

background: linear-gradient(to right, hsl(94, 76%, 31%), hsl(94, 76%, 11%))

hex

background-color: #478B13;

tailwind

bg-[hsl(94,76%,31%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(94, 76%, 31%, 0.4);

css variable

--color-primary: hsl(94, 76%, 31%);

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(94, 76%, 31%)?

HEX: #478B13 | RGB: rgb(71, 139, 19) | CMYK: 49%, 0%, 86%, 45% | HSV: 94°, 86%, 55%. Copy any format from the conversion table above.

What colors go well with #478B13?

The complementary color is HSL(274, 76%, 31%). For a triadic harmony, use hues 94°, 214°, and 334°. For analogous combinations, try hues 64° and 124°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(94, 76%, 31%) in CSS?

As HSL: color: hsl(94, 76%, 31%); — As HEX: color: #478B13; — As RGB: color: rgb(71, 139, 19); — Tailwind CSS: bg-[hsl(94,76%,31%)] — CSS variable: --color-primary: hsl(94, 76%, 31%);