HSL(102, 31%, 78%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(102,31%,78%)]

Color Conversions

Format Value CSS Usage
HSL hsl(102, 31%, 78%) color: hsl(102, 31%, 78%)
HEX #C0D8B6 color: #C0D8B6
RGB rgb(192, 216, 182) color: rgb(192, 216, 182)
CMYK cmyk(11%, 0%, 16%, 15%)
HSV hsv(102, 16%, 85%)
HWB hwb(102 71% 15%) color: hwb(102 71% 15%)
OKLCH oklch(0.8553 0.0529 136.45) color: oklch(0.8553 0.0529 136.45)
Lab lab(83.81 -14.21 14.11) color: lab(83.81 -14.21 14.11)
LCH lch(83.81 20.03 135.2) color: lch(83.81 20.03 135.2)

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.53:1
vs Black 13.74: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)

#CACBBE — rgb(202, 203, 190)

Deuteranopia (Green-blind)

#C9C7C0 — rgb(201, 199, 192)

Tritanopia (Blue-blind)

#C1C5C6 — rgb(193, 197, 198)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(102, 31%, 78%);

text

color: hsl(102, 31%, 78%);

border

border: 2px solid hsl(102, 31%, 78%);

gradient light

background: linear-gradient(to right, hsl(102, 31%, 98%), hsl(102, 31%, 78%));

gradient dark

background: linear-gradient(to right, hsl(102, 31%, 78%), hsl(102, 31%, 58%))

hex

background-color: #C0D8B6;

tailwind

bg-[hsl(102,31%,78%)]

box shadow

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

css variable

--color-primary: hsl(102, 31%, 78%);

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(102, 31%, 78%)?

HEX: #C0D8B6 | RGB: rgb(192, 216, 182) | CMYK: 11%, 0%, 16%, 15% | HSV: 102°, 16%, 85%. Copy any format from the conversion table above.

What colors go well with #C0D8B6?

The complementary color is HSL(282, 31%, 78%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(102, 31%, 78%) in CSS?

As HSL: color: hsl(102, 31%, 78%); — As HEX: color: #C0D8B6; — As RGB: color: rgb(192, 216, 182); — Tailwind CSS: bg-[hsl(102,31%,78%)] — CSS variable: --color-primary: hsl(102, 31%, 78%);