HSL(77, 70%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(77,70%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(77, 70%, 28%) | color: hsl(77, 70%, 28%) | |
| HEX | #5D7915 | color: #5D7915 | |
| RGB | rgb(93, 121, 21) | color: rgb(93, 121, 21) | |
| CMYK | cmyk(23%, 0%, 83%, 53%) | — | |
| HSV | hsv(77, 83%, 47%) | — | |
| HWB | hwb(77 8% 53%) | color: hwb(77 8% 53%) | |
| OKLCH | oklch(0.5352 0.1254 124.83) | color: oklch(0.5352 0.1254 124.83) | |
| Lab | lab(47.05 -24.55 46.96) | color: lab(47.05 -24.55 46.96) | |
| LCH | lch(47.05 52.99 117.6) | color: lch(47.05 52.99 117.6) |
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)
#69692D — rgb(105, 105, 45)
Deuteranopia (Green-blind)
#686533 — rgb(104, 101, 51)
Tritanopia (Blue-blind)
#5E4045 — rgb(94, 64, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(77, 70%, 28%);
text
color: hsl(77, 70%, 28%);
border
border: 2px solid hsl(77, 70%, 28%);
gradient light
background: linear-gradient(to right, hsl(77, 70%, 48%), hsl(77, 70%, 28%));
gradient dark
background: linear-gradient(to right, hsl(77, 70%, 28%), hsl(77, 70%, 8%))
hex
background-color: #5D7915;
tailwind
bg-[hsl(77,70%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(77, 70%, 28%, 0.4);
css variable
--color-primary: hsl(77, 70%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(77, 70%, 28%)?
HEX: #5D7915 | RGB: rgb(93, 121, 21) | CMYK: 23%, 0%, 83%, 53% | HSV: 77°, 83%, 47%. Copy any format from the conversion table above.
What colors go well with #5D7915?
The complementary color is HSL(257, 70%, 28%). 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, 70%, 28%) in CSS?
As HSL: color: hsl(77, 70%, 28%); — As HEX: color: #5D7915; — As RGB: color: rgb(93, 121, 21); — Tailwind CSS: bg-[hsl(77,70%,28%)] — CSS variable: --color-primary: hsl(77, 70%, 28%);