HSL(65, 28%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(65,28%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(65, 28%, 40%) | color: hsl(65, 28%, 40%) | |
| HEX | #7E8349 | color: #7E8349 | |
| RGB | rgb(126, 131, 73) | color: rgb(126, 131, 73) | |
| CMYK | cmyk(4%, 0%, 44%, 49%) | — | |
| HSV | hsv(65, 44%, 51%) | — | |
| HWB | hwb(65 29% 49%) | color: hwb(65 29% 49%) | |
| OKLCH | oklch(0.5919 0.0803 112.88) | color: oklch(0.5919 0.0803 112.88) | |
| Lab | lab(53.11 -11.18 30.64) | color: lab(53.11 -11.18 30.64) | |
| LCH | lch(53.11 32.62 110.05) | color: lch(53.11 32.62 110.05) |
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)
#808057 — rgb(128, 128, 87)
Deuteranopia (Green-blind)
#80805A — rgb(128, 128, 90)
Tritanopia (Blue-blind)
#7E6265 — rgb(126, 98, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(65, 28%, 40%);
text
color: hsl(65, 28%, 40%);
border
border: 2px solid hsl(65, 28%, 40%);
gradient light
background: linear-gradient(to right, hsl(65, 28%, 60%), hsl(65, 28%, 40%));
gradient dark
background: linear-gradient(to right, hsl(65, 28%, 40%), hsl(65, 28%, 20%))
hex
background-color: #7E8349;
tailwind
bg-[hsl(65,28%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(65, 28%, 40%, 0.4);
css variable
--color-primary: hsl(65, 28%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(65, 28%, 40%)?
HEX: #7E8349 | RGB: rgb(126, 131, 73) | CMYK: 4%, 0%, 44%, 49% | HSV: 65°, 44%, 51%. Copy any format from the conversion table above.
What colors go well with #7E8349?
The complementary color is HSL(245, 28%, 40%). For a triadic harmony, use hues 65°, 185°, and 305°. For analogous combinations, try hues 35° and 95°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(65, 28%, 40%) in CSS?
As HSL: color: hsl(65, 28%, 40%); — As HEX: color: #7E8349; — As RGB: color: rgb(126, 131, 73); — Tailwind CSS: bg-[hsl(65,28%,40%)] — CSS variable: --color-primary: hsl(65, 28%, 40%);