HSL(151, 100%, 31%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(151,100%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(151, 100%, 31%) color: hsl(151, 100%, 31%)
HEX #009E52 color: #009E52
RGB rgb(0, 158, 82) color: rgb(0, 158, 82)
CMYK cmyk(100%, 0%, 48%, 38%)
HSV hsv(151, 100%, 62%)
HWB hwb(151 0% 38%) color: hwb(151 0% 38%)
OKLCH oklch(0.6128 0.1592 152.58) color: oklch(0.6128 0.1592 152.58)
Lab lab(57.13 -52.77 29.96) color: lab(57.13 -52.77 29.96)
LCH lch(57.13 60.68 150.41) color: lch(57.13 60.68 150.41)

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 3.49:1
vs Black 6.01:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#444664 — rgb(68, 70, 100)

Deuteranopia (Green-blind)

#3B2F69 — rgb(59, 47, 105)

Tritanopia (Blue-blind)

#087376 — rgb(8, 115, 118)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(151, 100%, 31%);

text

color: hsl(151, 100%, 31%);

border

border: 2px solid hsl(151, 100%, 31%);

gradient light

background: linear-gradient(to right, hsl(151, 100%, 51%), hsl(151, 100%, 31%));

gradient dark

background: linear-gradient(to right, hsl(151, 100%, 31%), hsl(151, 100%, 11%))

hex

background-color: #009E52;

tailwind

bg-[hsl(151,100%,31%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(151, 100%, 31%, 0.4);

css variable

--color-primary: hsl(151, 100%, 31%);

Related Colors

Use Cases for Cyan

Tech/SaaS products Medical apps Water/ocean themes Clean UI elements Data viz

Frequently Asked Questions

What are all the color codes for HSL(151, 100%, 31%)?

HEX: #009E52 | RGB: rgb(0, 158, 82) | CMYK: 100%, 0%, 48%, 38% | HSV: 151°, 100%, 62%. Copy any format from the conversion table above.

What colors go well with #009E52?

The complementary color is HSL(331, 100%, 31%). For a triadic harmony, use hues 151°, 271°, and 31°. For analogous combinations, try hues 121° and 181°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(151, 100%, 31%) in CSS?

As HSL: color: hsl(151, 100%, 31%); — As HEX: color: #009E52; — As RGB: color: rgb(0, 158, 82); — Tailwind CSS: bg-[hsl(151,100%,31%)] — CSS variable: --color-primary: hsl(151, 100%, 31%);