HSL(77, 45%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(77,45%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(77, 45%, 31%) | color: hsl(77, 45%, 31%) | |
| HEX | #5E732B | color: #5E732B | |
| RGB | rgb(94, 115, 43) | color: rgb(94, 115, 43) | |
| CMYK | cmyk(18%, 0%, 63%, 55%) | — | |
| HSV | hsv(78, 63%, 45%) | — | |
| HWB | hwb(78 17% 55%) | color: hwb(78 17% 55%) | |
| OKLCH | oklch(0.5224 0.1011 123.6) | color: oklch(0.5224 0.1011 123.6) | |
| Lab | lab(45.38 -19.57 36.4) | color: lab(45.38 -19.57 36.4) | |
| LCH | lch(45.38 41.33 118.26) | color: lch(45.38 41.33 118.26) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#67673C — rgb(103, 103, 60)
Deuteranopia (Green-blind)
#666441 — rgb(102, 100, 65)
Tritanopia (Blue-blind)
#5F4A4D — rgb(95, 74, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(77, 45%, 31%);
text
color: hsl(77, 45%, 31%);
border
border: 2px solid hsl(77, 45%, 31%);
gradient light
background: linear-gradient(to right, hsl(77, 45%, 51%), hsl(77, 45%, 31%));
gradient dark
background: linear-gradient(to right, hsl(77, 45%, 31%), hsl(77, 45%, 11%))
hex
background-color: #5E732B;
tailwind
bg-[hsl(77,45%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(77, 45%, 31%, 0.4);
css variable
--color-primary: hsl(77, 45%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(77, 45%, 31%)?
HEX: #5E732B | RGB: rgb(94, 115, 43) | CMYK: 18%, 0%, 63%, 55% | HSV: 78°, 63%, 45%. Copy any format from the conversion table above.
What colors go well with #5E732B?
The complementary color is HSL(257, 45%, 31%). For a triadic harmony, use hues 77°, 197°, and 317°. For analogous combinations, try hues 47° and 107°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(77, 45%, 31%) in CSS?
As HSL: color: hsl(77, 45%, 31%); — As HEX: color: #5E732B; — As RGB: color: rgb(94, 115, 43); — Tailwind CSS: bg-[hsl(77,45%,31%)] — CSS variable: --color-primary: hsl(77, 45%, 31%);