HSL(90, 50%, 9%)

Very Dark Green — Green color

Adjust Color

Color Information

Color Name

Very Dark Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(90,50%,9%)]

Color Conversions

Format Value CSS Usage
HSL hsl(90, 50%, 9%) color: hsl(90, 50%, 9%)
HEX #17220B color: #17220B
RGB rgb(23, 34, 11) color: rgb(23, 34, 11)
CMYK cmyk(32%, 0%, 68%, 87%)
HSV hsv(89, 68%, 13%)
HWB hwb(89 4% 87%) color: hwb(89 4% 87%)
OKLCH oklch(0.2347 0.0432 130.25) color: oklch(0.2347 0.0432 130.25)
Lab lab(11.62 -10.03 12.53) color: lab(11.62 -10.03 12.53)
LCH lch(11.62 16.05 128.68) color: lch(11.62 16.05 128.68)

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 16.53:1
vs Black 1.27: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)

#1C1C11 — rgb(28, 28, 17)

Deuteranopia (Green-blind)

#1B1A12 — rgb(27, 26, 18)

Tritanopia (Blue-blind)

#181516 — rgb(24, 21, 22)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(90, 50%, 9%);

text

color: hsl(90, 50%, 9%);

border

border: 2px solid hsl(90, 50%, 9%);

gradient light

background: linear-gradient(to right, hsl(90, 50%, 29%), hsl(90, 50%, 9%));

gradient dark

background: linear-gradient(to right, hsl(90, 50%, 9%), hsl(90, 50%, 0%))

hex

background-color: #17220B;

tailwind

bg-[hsl(90,50%,9%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(90, 50%, 9%, 0.4);

css variable

--color-primary: hsl(90, 50%, 9%);

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(90, 50%, 9%)?

HEX: #17220B | RGB: rgb(23, 34, 11) | CMYK: 32%, 0%, 68%, 87% | HSV: 89°, 68%, 13%. Copy any format from the conversion table above.

What colors go well with #17220B?

The complementary color is HSL(270, 50%, 9%). For a triadic harmony, use hues 90°, 210°, and 330°. For analogous combinations, try hues 60° and 120°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(90, 50%, 9%) in CSS?

As HSL: color: hsl(90, 50%, 9%); — As HEX: color: #17220B; — As RGB: color: rgb(23, 34, 11); — Tailwind CSS: bg-[hsl(90,50%,9%)] — CSS variable: --color-primary: hsl(90, 50%, 9%);