HSL(66, 57%, 34%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(66,57%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(66, 57%, 34%) | color: hsl(66, 57%, 34%) | |
| HEX | #7E8825 | color: #7E8825 | |
| RGB | rgb(126, 136, 37) | color: rgb(126, 136, 37) | |
| CMYK | cmyk(7%, 0%, 73%, 47%) | — | |
| HSV | hsv(66, 73%, 53%) | — | |
| HWB | hwb(66 14% 47%) | color: hwb(66 14% 47%) | |
| OKLCH | oklch(0.5995 0.1204 115.13) | color: oklch(0.5995 0.1204 115.13) | |
| Lab | lab(54.22 -16.89 48.99) | color: lab(54.22 -16.89 48.99) | |
| LCH | lch(54.22 51.82 109.02) | color: lch(54.22 51.82 109.02) |
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)
#82823D — rgb(130, 130, 61)
Deuteranopia (Green-blind)
#828143 — rgb(130, 129, 67)
Tritanopia (Blue-blind)
#7F5054 — rgb(127, 80, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(66, 57%, 34%);
text
color: hsl(66, 57%, 34%);
border
border: 2px solid hsl(66, 57%, 34%);
gradient light
background: linear-gradient(to right, hsl(66, 57%, 54%), hsl(66, 57%, 34%));
gradient dark
background: linear-gradient(to right, hsl(66, 57%, 34%), hsl(66, 57%, 14%))
hex
background-color: #7E8825;
tailwind
bg-[hsl(66,57%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(66, 57%, 34%, 0.4);
css variable
--color-primary: hsl(66, 57%, 34%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(66, 57%, 34%)?
HEX: #7E8825 | RGB: rgb(126, 136, 37) | CMYK: 7%, 0%, 73%, 47% | HSV: 66°, 73%, 53%. Copy any format from the conversion table above.
What colors go well with #7E8825?
The complementary color is HSL(246, 57%, 34%). For a triadic harmony, use hues 66°, 186°, and 306°. For analogous combinations, try hues 36° and 96°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(66, 57%, 34%) in CSS?
As HSL: color: hsl(66, 57%, 34%); — As HEX: color: #7E8825; — As RGB: color: rgb(126, 136, 37); — Tailwind CSS: bg-[hsl(66,57%,34%)] — CSS variable: --color-primary: hsl(66, 57%, 34%);