HSL(98, 12%, 16%)

Grayish Green — Green color

Adjust Color

Color Information

Color Name

Grayish Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(98,12%,16%)]

Color Conversions

Format Value CSS Usage
HSL hsl(98, 12%, 16%) color: hsl(98, 12%, 16%)
HEX #272E24 color: #272E24
RGB rgb(39, 46, 36) color: rgb(39, 46, 36)
CMYK cmyk(15%, 0%, 22%, 82%)
HSV hsv(102, 22%, 18%)
HWB hwb(102 14% 82%) color: hwb(102 14% 82%)
OKLCH oklch(0.2909 0.0203 136.29) color: oklch(0.2909 0.0203 136.29)
Lab lab(17.98 -5.43 5.45) color: lab(17.98 -5.43 5.45)
LCH lch(17.98 7.69 134.89) color: lch(17.98 7.69 134.89)

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 13.98:1
vs Black 1.5: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)

#2A2A26 — rgb(42, 42, 38)

Deuteranopia (Green-blind)

#2A2927 — rgb(42, 41, 39)

Tritanopia (Blue-blind)

#272829 — rgb(39, 40, 41)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(98, 12%, 16%);

text

color: hsl(98, 12%, 16%);

border

border: 2px solid hsl(98, 12%, 16%);

gradient light

background: linear-gradient(to right, hsl(98, 12%, 36%), hsl(98, 12%, 16%));

gradient dark

background: linear-gradient(to right, hsl(98, 12%, 16%), hsl(98, 12%, 0%))

hex

background-color: #272E24;

tailwind

bg-[hsl(98,12%,16%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(98, 12%, 16%, 0.4);

css variable

--color-primary: hsl(98, 12%, 16%);

Related Colors

Use Cases for Grayish Green

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

Frequently Asked Questions

What are all the color codes for HSL(98, 12%, 16%)?

HEX: #272E24 | RGB: rgb(39, 46, 36) | CMYK: 15%, 0%, 22%, 82% | HSV: 102°, 22%, 18%. Copy any format from the conversion table above.

What colors go well with #272E24?

The complementary color is HSL(278, 12%, 16%). For a triadic harmony, use hues 98°, 218°, and 338°. For analogous combinations, try hues 68° and 128°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(98, 12%, 16%) in CSS?

As HSL: color: hsl(98, 12%, 16%); — As HEX: color: #272E24; — As RGB: color: rgb(39, 46, 36); — Tailwind CSS: bg-[hsl(98,12%,16%)] — CSS variable: --color-primary: hsl(98, 12%, 16%);