HSL(70, 80%, 51%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(70,80%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(70, 80%, 51%) color: hsl(70, 80%, 51%)
HEX #C5E61E color: #C5E61E
RGB rgb(197, 230, 30) color: rgb(197, 230, 30)
CMYK cmyk(14%, 0%, 87%, 10%)
HSV hsv(70, 87%, 90%)
HWB hwb(70 12% 10%) color: hwb(70 12% 10%)
OKLCH oklch(0.8705 0.2007 119.81) color: oklch(0.8705 0.2007 119.81)
Lab lab(86.28 -33.1 81.15) color: lab(86.28 -33.1 81.15)
LCH lch(86.28 87.64 112.19) color: lch(86.28 87.64 112.19)

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 1.43:1
vs Black 14.71:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#D3D44E — rgb(211, 212, 78)

Deuteranopia (Green-blind)

#D1CF5A — rgb(209, 207, 90)

Tritanopia (Blue-blind)

#C7757D — rgb(199, 117, 125)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(70, 80%, 51%);

text

color: hsl(70, 80%, 51%);

border

border: 2px solid hsl(70, 80%, 51%);

gradient light

background: linear-gradient(to right, hsl(70, 80%, 71%), hsl(70, 80%, 51%));

gradient dark

background: linear-gradient(to right, hsl(70, 80%, 51%), hsl(70, 80%, 31%))

hex

background-color: #C5E61E;

tailwind

bg-[hsl(70,80%,51%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(70, 80%, 51%, 0.4);

css variable

--color-primary: hsl(70, 80%, 51%);

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(70, 80%, 51%)?

HEX: #C5E61E | RGB: rgb(197, 230, 30) | CMYK: 14%, 0%, 87%, 10% | HSV: 70°, 87%, 90%. Copy any format from the conversion table above.

What colors go well with #C5E61E?

The complementary color is HSL(250, 80%, 51%). For a triadic harmony, use hues 70°, 190°, and 310°. For analogous combinations, try hues 40° and 100°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(70, 80%, 51%) in CSS?

As HSL: color: hsl(70, 80%, 51%); — As HEX: color: #C5E61E; — As RGB: color: rgb(197, 230, 30); — Tailwind CSS: bg-[hsl(70,80%,51%)] — CSS variable: --color-primary: hsl(70, 80%, 51%);