HSL(81, 30%, 45%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(81,30%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(81, 30%, 45%) | color: hsl(81, 30%, 45%) | |
| HEX | #7D9550 | color: #7D9550 | |
| RGB | rgb(125, 149, 80) | color: rgb(125, 149, 80) | |
| CMYK | cmyk(16%, 0%, 46%, 42%) | — | |
| HSV | hsv(81, 46%, 58%) | — | |
| HWB | hwb(81 31% 42%) | color: hwb(81 31% 42%) | |
| OKLCH | oklch(0.6347 0.0987 124.86) | color: oklch(0.6347 0.0987 124.86) | |
| Lab | lab(58.45 -20.29 33.54) | color: lab(58.45 -20.29 33.54) | |
| LCH | lch(58.45 39.2 121.17) | color: lch(58.45 39.2 121.17) |
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)
#878861 — rgb(135, 136, 97)
Deuteranopia (Green-blind)
#868465 — rgb(134, 132, 101)
Tritanopia (Blue-blind)
#7E6E71 — rgb(126, 110, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(81, 30%, 45%);
text
color: hsl(81, 30%, 45%);
border
border: 2px solid hsl(81, 30%, 45%);
gradient light
background: linear-gradient(to right, hsl(81, 30%, 65%), hsl(81, 30%, 45%));
gradient dark
background: linear-gradient(to right, hsl(81, 30%, 45%), hsl(81, 30%, 25%))
hex
background-color: #7D9550;
tailwind
bg-[hsl(81,30%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(81, 30%, 45%, 0.4);
css variable
--color-primary: hsl(81, 30%, 45%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(81, 30%, 45%)?
HEX: #7D9550 | RGB: rgb(125, 149, 80) | CMYK: 16%, 0%, 46%, 42% | HSV: 81°, 46%, 58%. Copy any format from the conversion table above.
What colors go well with #7D9550?
The complementary color is HSL(261, 30%, 45%). For a triadic harmony, use hues 81°, 201°, and 321°. For analogous combinations, try hues 51° and 111°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(81, 30%, 45%) in CSS?
As HSL: color: hsl(81, 30%, 45%); — As HEX: color: #7D9550; — As RGB: color: rgb(125, 149, 80); — Tailwind CSS: bg-[hsl(81,30%,45%)] — CSS variable: --color-primary: hsl(81, 30%, 45%);