HSL(138, 30%, 52%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(138,30%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(138, 30%, 52%) | color: hsl(138, 30%, 52%) | |
| HEX | #60A976 | color: #60A976 | |
| RGB | rgb(96, 169, 118) | color: rgb(96, 169, 118) | |
| CMYK | cmyk(43%, 0%, 30%, 34%) | — | |
| HSV | hsv(138, 43%, 66%) | — | |
| HWB | hwb(138 38% 34%) | color: hwb(138 38% 34%) | |
| OKLCH | oklch(0.6732 0.1058 152.37) | color: oklch(0.6732 0.1058 152.37) | |
| Lab | lab(63.48 -34.3 19.38) | color: lab(63.48 -34.3 19.38) | |
| LCH | lch(63.48 39.4 150.53) | color: lch(63.48 39.4 150.53) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#808082 — rgb(128, 128, 130)
Deuteranopia (Green-blind)
#7B7685 — rgb(123, 118, 133)
Tritanopia (Blue-blind)
#648C8E — rgb(100, 140, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(138, 30%, 52%);
text
color: hsl(138, 30%, 52%);
border
border: 2px solid hsl(138, 30%, 52%);
gradient light
background: linear-gradient(to right, hsl(138, 30%, 72%), hsl(138, 30%, 52%));
gradient dark
background: linear-gradient(to right, hsl(138, 30%, 52%), hsl(138, 30%, 32%))
hex
background-color: #60A976;
tailwind
bg-[hsl(138,30%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(138, 30%, 52%, 0.4);
css variable
--color-primary: hsl(138, 30%, 52%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(138, 30%, 52%)?
HEX: #60A976 | RGB: rgb(96, 169, 118) | CMYK: 43%, 0%, 30%, 34% | HSV: 138°, 43%, 66%. Copy any format from the conversion table above.
What colors go well with #60A976?
The complementary color is HSL(318, 30%, 52%). 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%, 52%) in CSS?
As HSL: color: hsl(138, 30%, 52%); — As HEX: color: #60A976; — As RGB: color: rgb(96, 169, 118); — Tailwind CSS: bg-[hsl(138,30%,52%)] — CSS variable: --color-primary: hsl(138, 30%, 52%);