HSL(102, 70%, 21%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(102,70%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(102, 70%, 21%) color: hsl(102, 70%, 21%)
HEX #275B10 color: #275B10
RGB rgb(39, 91, 16) color: rgb(39, 91, 16)
CMYK cmyk(57%, 0%, 82%, 64%)
HSV hsv(102, 82%, 36%)
HWB hwb(102 6% 64%) color: hwb(102 6% 64%)
OKLCH oklch(0.4194 0.1181 138.2) color: oklch(0.4194 0.1181 138.2)
Lab lab(33.88 -31.85 35.25) color: lab(33.88 -31.85 35.25)
LCH lch(33.88 47.51 132.1) color: lch(33.88 47.51 132.1)

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.11:1
vs Black 2.59: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)

#3E3E22 — rgb(62, 62, 34)

Deuteranopia (Green-blind)

#3B3727 — rgb(59, 55, 39)

Tritanopia (Blue-blind)

#2A3034 — rgb(42, 48, 52)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(102, 70%, 21%);

text

color: hsl(102, 70%, 21%);

border

border: 2px solid hsl(102, 70%, 21%);

gradient light

background: linear-gradient(to right, hsl(102, 70%, 41%), hsl(102, 70%, 21%));

gradient dark

background: linear-gradient(to right, hsl(102, 70%, 21%), hsl(102, 70%, 1%))

hex

background-color: #275B10;

tailwind

bg-[hsl(102,70%,21%)]

box shadow

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

css variable

--color-primary: hsl(102, 70%, 21%);

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, 70%, 21%)?

HEX: #275B10 | RGB: rgb(39, 91, 16) | CMYK: 57%, 0%, 82%, 64% | HSV: 102°, 82%, 36%. Copy any format from the conversion table above.

What colors go well with #275B10?

The complementary color is HSL(282, 70%, 21%). 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, 70%, 21%) in CSS?

As HSL: color: hsl(102, 70%, 21%); — As HEX: color: #275B10; — As RGB: color: rgb(39, 91, 16); — Tailwind CSS: bg-[hsl(102,70%,21%)] — CSS variable: --color-primary: hsl(102, 70%, 21%);