HSL(98, 20%, 34%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(98,20%,34%)]

Color Conversions

Format Value CSS Usage
HSL hsl(98, 20%, 34%) color: hsl(98, 20%, 34%)
HEX #526845 color: #526845
RGB rgb(82, 104, 69) color: rgb(82, 104, 69)
CMYK cmyk(21%, 0%, 34%, 59%)
HSV hsv(98, 34%, 41%)
HWB hwb(98 27% 59%) color: hwb(98 27% 59%)
OKLCH oklch(0.4895 0.06 134.32) color: oklch(0.4895 0.06 134.32)
Lab lab(41.41 -15.39 17.12) color: lab(41.41 -15.39 17.12)
LCH lch(41.41 23.02 131.95) color: lch(41.41 23.02 131.95)

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 6.13:1
vs Black 3.42:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#5C5C4D — rgb(92, 92, 77)

Deuteranopia (Green-blind)

#5A5950 — rgb(90, 89, 80)

Tritanopia (Blue-blind)

#535456 — rgb(83, 84, 86)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(98, 20%, 34%);

text

color: hsl(98, 20%, 34%);

border

border: 2px solid hsl(98, 20%, 34%);

gradient light

background: linear-gradient(to right, hsl(98, 20%, 54%), hsl(98, 20%, 34%));

gradient dark

background: linear-gradient(to right, hsl(98, 20%, 34%), hsl(98, 20%, 14%))

hex

background-color: #526845;

tailwind

bg-[hsl(98,20%,34%)]

box shadow

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

css variable

--color-primary: hsl(98, 20%, 34%);

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(98, 20%, 34%)?

HEX: #526845 | RGB: rgb(82, 104, 69) | CMYK: 21%, 0%, 34%, 59% | HSV: 98°, 34%, 41%. Copy any format from the conversion table above.

What colors go well with #526845?

The complementary color is HSL(278, 20%, 34%). 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, 20%, 34%) in CSS?

As HSL: color: hsl(98, 20%, 34%); — As HEX: color: #526845; — As RGB: color: rgb(82, 104, 69); — Tailwind CSS: bg-[hsl(98,20%,34%)] — CSS variable: --color-primary: hsl(98, 20%, 34%);