HSL(73, 68%, 18%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(73,68%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(73, 68%, 18%) color: hsl(73, 68%, 18%)
HEX #404D0F color: #404D0F
RGB rgb(64, 77, 15) color: rgb(64, 77, 15)
CMYK cmyk(17%, 0%, 81%, 70%)
HSV hsv(73, 81%, 30%)
HWB hwb(73 6% 70%) color: hwb(73 6% 70%)
OKLCH oklch(0.3956 0.0851 120.91) color: oklch(0.3956 0.0851 120.91)
Lab lab(30.48 -14.82 32.86) color: lab(30.48 -14.82 32.86)
LCH lch(30.48 36.05 114.28) color: lch(30.48 36.05 114.28)

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 9.18:1
vs Black 2.29: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)

#46461E — rgb(70, 70, 30)

Deuteranopia (Green-blind)

#454422 — rgb(69, 68, 34)

Tritanopia (Blue-blind)

#412A2C — rgb(65, 42, 44)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(73, 68%, 18%);

text

color: hsl(73, 68%, 18%);

border

border: 2px solid hsl(73, 68%, 18%);

gradient light

background: linear-gradient(to right, hsl(73, 68%, 38%), hsl(73, 68%, 18%));

gradient dark

background: linear-gradient(to right, hsl(73, 68%, 18%), hsl(73, 68%, 0%))

hex

background-color: #404D0F;

tailwind

bg-[hsl(73,68%,18%)]

box shadow

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

css variable

--color-primary: hsl(73, 68%, 18%);

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(73, 68%, 18%)?

HEX: #404D0F | RGB: rgb(64, 77, 15) | CMYK: 17%, 0%, 81%, 70% | HSV: 73°, 81%, 30%. Copy any format from the conversion table above.

What colors go well with #404D0F?

The complementary color is HSL(253, 68%, 18%). For a triadic harmony, use hues 73°, 193°, and 313°. For analogous combinations, try hues 43° and 103°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(73, 68%, 18%) in CSS?

As HSL: color: hsl(73, 68%, 18%); — As HEX: color: #404D0F; — As RGB: color: rgb(64, 77, 15); — Tailwind CSS: bg-[hsl(73,68%,18%)] — CSS variable: --color-primary: hsl(73, 68%, 18%);