HSL(133, 27%, 18%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(133,27%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(133, 27%, 18%) color: hsl(133, 27%, 18%)
HEX #223A27 color: #223A27
RGB rgb(34, 58, 39) color: rgb(34, 58, 39)
CMYK cmyk(41%, 0%, 33%, 77%)
HSV hsv(133, 41%, 23%)
HWB hwb(133 14% 77%) color: hwb(133 14% 77%)
OKLCH oklch(0.3225 0.0452 149.88) color: oklch(0.3225 0.0452 149.88)
Lab lab(21.99 -14.29 8.93) color: lab(21.99 -14.29 8.93)
LCH lch(21.99 16.85 148) color: lch(21.99 16.85 148)

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 12.33:1
vs Black 1.7: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)

#2C2D2C — rgb(44, 45, 44)

Deuteranopia (Green-blind)

#2B292D — rgb(43, 41, 45)

Tritanopia (Blue-blind)

#232F30 — rgb(35, 47, 48)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(133, 27%, 18%);

text

color: hsl(133, 27%, 18%);

border

border: 2px solid hsl(133, 27%, 18%);

gradient light

background: linear-gradient(to right, hsl(133, 27%, 38%), hsl(133, 27%, 18%));

gradient dark

background: linear-gradient(to right, hsl(133, 27%, 18%), hsl(133, 27%, 0%))

hex

background-color: #223A27;

tailwind

bg-[hsl(133,27%,18%)]

box shadow

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

css variable

--color-primary: hsl(133, 27%, 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(133, 27%, 18%)?

HEX: #223A27 | RGB: rgb(34, 58, 39) | CMYK: 41%, 0%, 33%, 77% | HSV: 133°, 41%, 23%. Copy any format from the conversion table above.

What colors go well with #223A27?

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

How do I use HSL(133, 27%, 18%) in CSS?

As HSL: color: hsl(133, 27%, 18%); — As HEX: color: #223A27; — As RGB: color: rgb(34, 58, 39); — Tailwind CSS: bg-[hsl(133,27%,18%)] — CSS variable: --color-primary: hsl(133, 27%, 18%);