HSL(101, 20%, 52%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(101,20%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(101, 20%, 52%) | color: hsl(101, 20%, 52%) | |
| HEX | #7C9D6C | color: #7C9D6C | |
| RGB | rgb(124, 157, 108) | color: rgb(124, 157, 108) | |
| CMYK | cmyk(21%, 0%, 31%, 38%) | — | |
| HSV | hsv(100, 31%, 62%) | — | |
| HWB | hwb(100 43% 38%) | color: hwb(100 43% 38%) | |
| OKLCH | oklch(0.6582 0.0793 135.72) | color: oklch(0.6582 0.0793 135.72) | |
| Lab | lab(61.2 -20.86 22.02) | color: lab(61.2 -20.86 22.02) | |
| LCH | lch(61.2 30.33 133.45) | color: lch(61.2 30.33 133.45) |
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)
#8A8B78 — rgb(138, 139, 120)
Deuteranopia (Green-blind)
#88867B — rgb(136, 134, 123)
Tritanopia (Blue-blind)
#7E8183 — rgb(126, 129, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(101, 20%, 52%);
text
color: hsl(101, 20%, 52%);
border
border: 2px solid hsl(101, 20%, 52%);
gradient light
background: linear-gradient(to right, hsl(101, 20%, 72%), hsl(101, 20%, 52%));
gradient dark
background: linear-gradient(to right, hsl(101, 20%, 52%), hsl(101, 20%, 32%))
hex
background-color: #7C9D6C;
tailwind
bg-[hsl(101,20%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(101, 20%, 52%, 0.4);
css variable
--color-primary: hsl(101, 20%, 52%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(101, 20%, 52%)?
HEX: #7C9D6C | RGB: rgb(124, 157, 108) | CMYK: 21%, 0%, 31%, 38% | HSV: 100°, 31%, 62%. Copy any format from the conversion table above.
What colors go well with #7C9D6C?
The complementary color is HSL(281, 20%, 52%). For a triadic harmony, use hues 101°, 221°, and 341°. For analogous combinations, try hues 71° and 131°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(101, 20%, 52%) in CSS?
As HSL: color: hsl(101, 20%, 52%); — As HEX: color: #7C9D6C; — As RGB: color: rgb(124, 157, 108); — Tailwind CSS: bg-[hsl(101,20%,52%)] — CSS variable: --color-primary: hsl(101, 20%, 52%);