HSL(152, 60%, 34%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(152,60%,34%)]

Color Conversions

Format Value CSS Usage
HSL hsl(152, 60%, 34%) color: hsl(152, 60%, 34%)
HEX #238B5A color: #238B5A
RGB rgb(35, 139, 90) color: rgb(35, 139, 90)
CMYK cmyk(75%, 0%, 35%, 45%)
HSV hsv(152, 75%, 55%)
HWB hwb(152 14% 45%) color: hwb(152 14% 45%)
OKLCH oklch(0.5663 0.1201 157.75) color: oklch(0.5663 0.1201 157.75)
Lab lab(51.34 -41.02 18.05) color: lab(51.34 -41.02 18.05)
LCH lch(51.34 44.82 156.25) color: lch(51.34 44.82 156.25)

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 4.28:1
vs Black 4.91: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)

#505166 — rgb(80, 81, 102)

Deuteranopia (Green-blind)

#4A4269 — rgb(74, 66, 105)

Tritanopia (Blue-blind)

#286F71 — rgb(40, 111, 113)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(152, 60%, 34%);

text

color: hsl(152, 60%, 34%);

border

border: 2px solid hsl(152, 60%, 34%);

gradient light

background: linear-gradient(to right, hsl(152, 60%, 54%), hsl(152, 60%, 34%));

gradient dark

background: linear-gradient(to right, hsl(152, 60%, 34%), hsl(152, 60%, 14%))

hex

background-color: #238B5A;

tailwind

bg-[hsl(152,60%,34%)]

box shadow

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

css variable

--color-primary: hsl(152, 60%, 34%);

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(152, 60%, 34%)?

HEX: #238B5A | RGB: rgb(35, 139, 90) | CMYK: 75%, 0%, 35%, 45% | HSV: 152°, 75%, 55%. Copy any format from the conversion table above.

What colors go well with #238B5A?

The complementary color is HSL(332, 60%, 34%). For a triadic harmony, use hues 152°, 272°, and 32°. For analogous combinations, try hues 122° and 182°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(152, 60%, 34%) in CSS?

As HSL: color: hsl(152, 60%, 34%); — As HEX: color: #238B5A; — As RGB: color: rgb(35, 139, 90); — Tailwind CSS: bg-[hsl(152,60%,34%)] — CSS variable: --color-primary: hsl(152, 60%, 34%);