HSL(77, 74%, 19%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(77,74%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(77, 74%, 19%) | color: hsl(77, 74%, 19%) | |
| HEX | #40540D | color: #40540D | |
| RGB | rgb(64, 84, 13) | color: rgb(64, 84, 13) | |
| CMYK | cmyk(24%, 0%, 85%, 67%) | — | |
| HSV | hsv(77, 85%, 33%) | — | |
| HWB | hwb(77 5% 67%) | color: hwb(77 5% 67%) | |
| OKLCH | oklch(0.4146 0.096 124.74) | color: oklch(0.4146 0.096 124.74) | |
| Lab | lab(32.83 -18.77 35.84) | color: lab(32.83 -18.77 35.84) | |
| LCH | lch(32.83 40.46 117.64) | color: lch(32.83 40.46 117.64) |
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)
#49491E — rgb(73, 73, 30)
Deuteranopia (Green-blind)
#484622 — rgb(72, 70, 34)
Tritanopia (Blue-blind)
#412C2F — rgb(65, 44, 47)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(77, 74%, 19%);
text
color: hsl(77, 74%, 19%);
border
border: 2px solid hsl(77, 74%, 19%);
gradient light
background: linear-gradient(to right, hsl(77, 74%, 39%), hsl(77, 74%, 19%));
gradient dark
background: linear-gradient(to right, hsl(77, 74%, 19%), hsl(77, 74%, 0%))
hex
background-color: #40540D;
tailwind
bg-[hsl(77,74%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(77, 74%, 19%, 0.4);
css variable
--color-primary: hsl(77, 74%, 19%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(77, 74%, 19%)?
HEX: #40540D | RGB: rgb(64, 84, 13) | CMYK: 24%, 0%, 85%, 67% | HSV: 77°, 85%, 33%. Copy any format from the conversion table above.
What colors go well with #40540D?
The complementary color is HSL(257, 74%, 19%). 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, 74%, 19%) in CSS?
As HSL: color: hsl(77, 74%, 19%); — As HEX: color: #40540D; — As RGB: color: rgb(64, 84, 13); — Tailwind CSS: bg-[hsl(77,74%,19%)] — CSS variable: --color-primary: hsl(77, 74%, 19%);