HSL(117, 18%, 7%)

Very Dark Green — Green color

Adjust Color

Color Information

Color Name

Very Dark Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(117,18%,7%)]

Color Conversions

Format Value CSS Usage
HSL hsl(117, 18%, 7%) color: hsl(117, 18%, 7%)
HEX #0F150F color: #0F150F
RGB rgb(15, 21, 15) color: rgb(15, 21, 15)
CMYK cmyk(29%, 0%, 29%, 92%)
HSV hsv(120, 29%, 8%)
HWB hwb(120 6% 92%) color: hwb(120 6% 92%)
OKLCH oklch(0.1871 0.0151 144.94) color: oklch(0.1871 0.0151 144.94)
Lab lab(6.07 -3.59 2.57) color: lab(6.07 -3.59 2.57)
LCH lch(6.07 4.42 144.4) color: lch(6.07 4.42 144.4)

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 18.51:1
vs Black 1.13: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)

#121210 — rgb(18, 18, 16)

Deuteranopia (Green-blind)

#111111 — rgb(17, 17, 17)

Tritanopia (Blue-blind)

#0F1212 — rgb(15, 18, 18)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(117, 18%, 7%);

text

color: hsl(117, 18%, 7%);

border

border: 2px solid hsl(117, 18%, 7%);

gradient light

background: linear-gradient(to right, hsl(117, 18%, 27%), hsl(117, 18%, 7%));

gradient dark

background: linear-gradient(to right, hsl(117, 18%, 7%), hsl(117, 18%, 0%))

hex

background-color: #0F150F;

tailwind

bg-[hsl(117,18%,7%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(117, 18%, 7%, 0.4);

css variable

--color-primary: hsl(117, 18%, 7%);

Related Colors

Use Cases for Very Dark Green

Success states Eco/nature brands Finance apps Health apps Confirm buttons

Frequently Asked Questions

What are all the color codes for HSL(117, 18%, 7%)?

HEX: #0F150F | RGB: rgb(15, 21, 15) | CMYK: 29%, 0%, 29%, 92% | HSV: 120°, 29%, 8%. Copy any format from the conversion table above.

What colors go well with #0F150F?

The complementary color is HSL(297, 18%, 7%). For a triadic harmony, use hues 117°, 237°, and 357°. For analogous combinations, try hues 87° and 147°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(117, 18%, 7%) in CSS?

As HSL: color: hsl(117, 18%, 7%); — As HEX: color: #0F150F; — As RGB: color: rgb(15, 21, 15); — Tailwind CSS: bg-[hsl(117,18%,7%)] — CSS variable: --color-primary: hsl(117, 18%, 7%);