HSL(123, 85%, 38%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(123,85%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(123, 85%, 38%) color: hsl(123, 85%, 38%)
HEX #0FB317 color: #0FB317
RGB rgb(15, 179, 23) color: rgb(15, 179, 23)
CMYK cmyk(92%, 0%, 87%, 30%)
HSV hsv(123, 92%, 70%)
HWB hwb(123 6% 30%) color: hwb(123 6% 30%)
OKLCH oklch(0.6659 0.2198 142.88) color: oklch(0.6659 0.2198 142.88)
Lab lab(63.67 -64.66 60.44) color: lab(63.67 -64.66 60.44)
LCH lch(63.67 88.51 136.93) color: lch(63.67 88.51 136.93)

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 2.81:1
vs Black 7.48:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#56573D — rgb(86, 87, 61)

Deuteranopia (Green-blind)

#4D4046 — rgb(77, 64, 70)

Tritanopia (Blue-blind)

#175B61 — rgb(23, 91, 97)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(123, 85%, 38%);

text

color: hsl(123, 85%, 38%);

border

border: 2px solid hsl(123, 85%, 38%);

gradient light

background: linear-gradient(to right, hsl(123, 85%, 58%), hsl(123, 85%, 38%));

gradient dark

background: linear-gradient(to right, hsl(123, 85%, 38%), hsl(123, 85%, 18%))

hex

background-color: #0FB317;

tailwind

bg-[hsl(123,85%,38%)]

box shadow

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

css variable

--color-primary: hsl(123, 85%, 38%);

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(123, 85%, 38%)?

HEX: #0FB317 | RGB: rgb(15, 179, 23) | CMYK: 92%, 0%, 87%, 30% | HSV: 123°, 92%, 70%. Copy any format from the conversion table above.

What colors go well with #0FB317?

The complementary color is HSL(303, 85%, 38%). For a triadic harmony, use hues 123°, 243°, and 3°. For analogous combinations, try hues 93° and 153°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(123, 85%, 38%) in CSS?

As HSL: color: hsl(123, 85%, 38%); — As HEX: color: #0FB317; — As RGB: color: rgb(15, 179, 23); — Tailwind CSS: bg-[hsl(123,85%,38%)] — CSS variable: --color-primary: hsl(123, 85%, 38%);