HSL(77, 45%, 16%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(77,45%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(77, 45%, 16%) | color: hsl(77, 45%, 16%) | |
| HEX | #313B16 | color: #313B16 | |
| RGB | rgb(49, 59, 22) | color: rgb(49, 59, 22) | |
| CMYK | cmyk(17%, 0%, 63%, 77%) | — | |
| HSV | hsv(76, 63%, 23%) | — | |
| HWB | hwb(76 9% 77%) | color: hwb(76 9% 77%) | |
| OKLCH | oklch(0.3335 0.059 122.23) | color: oklch(0.3335 0.059 122.23) | |
| Lab | lab(23.13 -11.09 21.26) | color: lab(23.13 -11.09 21.26) | |
| LCH | lch(23.13 23.98 117.55) | color: lch(23.13 23.98 117.55) |
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)
#35351F — rgb(53, 53, 31)
Deuteranopia (Green-blind)
#353421 — rgb(53, 52, 33)
Tritanopia (Blue-blind)
#322628 — rgb(50, 38, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(77, 45%, 16%);
text
color: hsl(77, 45%, 16%);
border
border: 2px solid hsl(77, 45%, 16%);
gradient light
background: linear-gradient(to right, hsl(77, 45%, 36%), hsl(77, 45%, 16%));
gradient dark
background: linear-gradient(to right, hsl(77, 45%, 16%), hsl(77, 45%, 0%))
hex
background-color: #313B16;
tailwind
bg-[hsl(77,45%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(77, 45%, 16%, 0.4);
css variable
--color-primary: hsl(77, 45%, 16%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(77, 45%, 16%)?
HEX: #313B16 | RGB: rgb(49, 59, 22) | CMYK: 17%, 0%, 63%, 77% | HSV: 76°, 63%, 23%. Copy any format from the conversion table above.
What colors go well with #313B16?
The complementary color is HSL(257, 45%, 16%). 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%, 16%) in CSS?
As HSL: color: hsl(77, 45%, 16%); — As HEX: color: #313B16; — As RGB: color: rgb(49, 59, 22); — Tailwind CSS: bg-[hsl(77,45%,16%)] — CSS variable: --color-primary: hsl(77, 45%, 16%);