HSL(168, 30%, 40%)

Cyan — Cyan color

Adjust Color

Color Information

Color Name

Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(168,30%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(168, 30%, 40%) color: hsl(168, 30%, 40%)
HEX #478578 color: #478578
RGB rgb(71, 133, 120) color: rgb(71, 133, 120)
CMYK cmyk(47%, 0%, 10%, 48%)
HSV hsv(167, 47%, 52%)
HWB hwb(167 28% 48%) color: hwb(167 28% 48%)
OKLCH oklch(0.571 0.0679 178.53) color: oklch(0.571 0.0679 178.53)
Lab lab(51.23 -23.4 0.79) color: lab(51.23 -23.4 0.79)
LCH lch(51.23 23.41 178.07) color: lch(51.23 23.41 178.07)

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.29:1
vs Black 4.89: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)

#62627B — rgb(98, 98, 123)

Deuteranopia (Green-blind)

#5E5A7C — rgb(94, 90, 124)

Tritanopia (Blue-blind)

#4A7E7E — rgb(74, 126, 126)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(168, 30%, 40%);

text

color: hsl(168, 30%, 40%);

border

border: 2px solid hsl(168, 30%, 40%);

gradient light

background: linear-gradient(to right, hsl(168, 30%, 60%), hsl(168, 30%, 40%));

gradient dark

background: linear-gradient(to right, hsl(168, 30%, 40%), hsl(168, 30%, 20%))

hex

background-color: #478578;

tailwind

bg-[hsl(168,30%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(168, 30%, 40%, 0.4);

css variable

--color-primary: hsl(168, 30%, 40%);

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(168, 30%, 40%)?

HEX: #478578 | RGB: rgb(71, 133, 120) | CMYK: 47%, 0%, 10%, 48% | HSV: 167°, 47%, 52%. Copy any format from the conversion table above.

What colors go well with #478578?

The complementary color is HSL(348, 30%, 40%). For a triadic harmony, use hues 168°, 288°, and 48°. For analogous combinations, try hues 138° and 198°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(168, 30%, 40%) in CSS?

As HSL: color: hsl(168, 30%, 40%); — As HEX: color: #478578; — As RGB: color: rgb(71, 133, 120); — Tailwind CSS: bg-[hsl(168,30%,40%)] — CSS variable: --color-primary: hsl(168, 30%, 40%);