HSL(138, 30%, 76%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(138,30%,76%)]

Color Conversions

Format Value CSS Usage
HSL hsl(138, 30%, 76%) color: hsl(138, 30%, 76%)
HEX #AFD4BA color: #AFD4BA
RGB rgb(175, 212, 186) color: rgb(175, 212, 186)
CMYK cmyk(17%, 0%, 12%, 17%)
HSV hsv(138, 17%, 83%)
HWB hwb(138 69% 17%) color: hwb(138 69% 17%)
OKLCH oklch(0.8359 0.0532 154.49) color: oklch(0.8359 0.0532 154.49)
Lab lab(81.7 -17.27 8.84) color: lab(81.7 -17.27 8.84)
LCH lch(81.7 19.4 152.89) color: lch(81.7 19.4 152.89)

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.62:1
vs Black 12.95: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)

#BFBFC0 — rgb(191, 191, 192)

Deuteranopia (Green-blind)

#BDBAC2 — rgb(189, 186, 194)

Tritanopia (Blue-blind)

#B1C5C6 — rgb(177, 197, 198)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(138, 30%, 76%);

text

color: hsl(138, 30%, 76%);

border

border: 2px solid hsl(138, 30%, 76%);

gradient light

background: linear-gradient(to right, hsl(138, 30%, 96%), hsl(138, 30%, 76%));

gradient dark

background: linear-gradient(to right, hsl(138, 30%, 76%), hsl(138, 30%, 56%))

hex

background-color: #AFD4BA;

tailwind

bg-[hsl(138,30%,76%)]

box shadow

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

css variable

--color-primary: hsl(138, 30%, 76%);

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(138, 30%, 76%)?

HEX: #AFD4BA | RGB: rgb(175, 212, 186) | CMYK: 17%, 0%, 12%, 17% | HSV: 138°, 17%, 83%. Copy any format from the conversion table above.

What colors go well with #AFD4BA?

The complementary color is HSL(318, 30%, 76%). For a triadic harmony, use hues 138°, 258°, and 18°. For analogous combinations, try hues 108° and 168°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(138, 30%, 76%) in CSS?

As HSL: color: hsl(138, 30%, 76%); — As HEX: color: #AFD4BA; — As RGB: color: rgb(175, 212, 186); — Tailwind CSS: bg-[hsl(138,30%,76%)] — CSS variable: --color-primary: hsl(138, 30%, 76%);