HSL(138, 83%, 23%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(138,83%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(138, 83%, 23%) color: hsl(138, 83%, 23%)
HEX #0A6B27 color: #0A6B27
RGB rgb(10, 107, 39) color: rgb(10, 107, 39)
CMYK cmyk(91%, 0%, 64%, 58%)
HSV hsv(138, 91%, 42%)
HWB hwb(138 4% 58%) color: hwb(138 4% 58%)
OKLCH oklch(0.4615 0.1319 147.19) color: oklch(0.4615 0.1319 147.19)
Lab lab(39.11 -41.3 30.32) color: lab(39.11 -41.3 30.32)
LCH lch(39.11 51.23 143.72) color: lch(39.11 51.23 143.72)

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 6.68:1
vs Black 3.15:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

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)

#343537 — rgb(52, 53, 55)

Deuteranopia (Green-blind)

#2E273B — rgb(46, 39, 59)

Tritanopia (Blue-blind)

#0F4447 — rgb(15, 68, 71)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(138, 83%, 23%);

text

color: hsl(138, 83%, 23%);

border

border: 2px solid hsl(138, 83%, 23%);

gradient light

background: linear-gradient(to right, hsl(138, 83%, 43%), hsl(138, 83%, 23%));

gradient dark

background: linear-gradient(to right, hsl(138, 83%, 23%), hsl(138, 83%, 3%))

hex

background-color: #0A6B27;

tailwind

bg-[hsl(138,83%,23%)]

box shadow

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

css variable

--color-primary: hsl(138, 83%, 23%);

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, 83%, 23%)?

HEX: #0A6B27 | RGB: rgb(10, 107, 39) | CMYK: 91%, 0%, 64%, 58% | HSV: 138°, 91%, 42%. Copy any format from the conversion table above.

What colors go well with #0A6B27?

The complementary color is HSL(318, 83%, 23%). 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, 83%, 23%) in CSS?

As HSL: color: hsl(138, 83%, 23%); — As HEX: color: #0A6B27; — As RGB: color: rgb(10, 107, 39); — Tailwind CSS: bg-[hsl(138,83%,23%)] — CSS variable: --color-primary: hsl(138, 83%, 23%);