HSL(97, 85%, 19%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(97,85%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(97, 85%, 19%) color: hsl(97, 85%, 19%)
HEX #275A07 color: #275A07
RGB rgb(39, 90, 7) color: rgb(39, 90, 7)
CMYK cmyk(57%, 0%, 92%, 65%)
HSV hsv(97, 92%, 35%)
HWB hwb(97 3% 65%) color: hwb(97 3% 65%)
OKLCH oklch(0.416 0.1213 137.1) color: oklch(0.416 0.1213 137.1)
Lab lab(33.48 -31.96 37.79) color: lab(33.48 -31.96 37.79)
LCH lch(33.48 49.49 130.22) color: lch(33.48 49.49 130.22)

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 8.23:1
vs Black 2.55:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#3D3E1B — rgb(61, 62, 27)

Deuteranopia (Green-blind)

#3A3620 — rgb(58, 54, 32)

Tritanopia (Blue-blind)

#2A2B2E — rgb(42, 43, 46)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(97, 85%, 19%);

text

color: hsl(97, 85%, 19%);

border

border: 2px solid hsl(97, 85%, 19%);

gradient light

background: linear-gradient(to right, hsl(97, 85%, 39%), hsl(97, 85%, 19%));

gradient dark

background: linear-gradient(to right, hsl(97, 85%, 19%), hsl(97, 85%, 0%))

hex

background-color: #275A07;

tailwind

bg-[hsl(97,85%,19%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(97, 85%, 19%, 0.4);

css variable

--color-primary: hsl(97, 85%, 19%);

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(97, 85%, 19%)?

HEX: #275A07 | RGB: rgb(39, 90, 7) | CMYK: 57%, 0%, 92%, 65% | HSV: 97°, 92%, 35%. Copy any format from the conversion table above.

What colors go well with #275A07?

The complementary color is HSL(277, 85%, 19%). For a triadic harmony, use hues 97°, 217°, and 337°. For analogous combinations, try hues 67° and 127°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(97, 85%, 19%) in CSS?

As HSL: color: hsl(97, 85%, 19%); — As HEX: color: #275A07; — As RGB: color: rgb(39, 90, 7); — Tailwind CSS: bg-[hsl(97,85%,19%)] — CSS variable: --color-primary: hsl(97, 85%, 19%);