HSL(68, 40%, 34%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(68,40%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(68, 40%, 34%) | color: hsl(68, 40%, 34%) | |
| HEX | #707934 | color: #707934 | |
| RGB | rgb(112, 121, 52) | color: rgb(112, 121, 52) | |
| CMYK | cmyk(7%, 0%, 57%, 53%) | — | |
| HSV | hsv(68, 57%, 47%) | — | |
| HWB | hwb(68 20% 53%) | color: hwb(68 20% 53%) | |
| OKLCH | oklch(0.5531 0.0936 115.73) | color: oklch(0.5531 0.0936 115.73) | |
| Lab | lab(48.72 -14.03 36.09) | color: lab(48.72 -14.03 36.09) | |
| LCH | lch(48.72 38.72 111.24) | color: lch(48.72 38.72 111.24) |
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)
#747445 — rgb(116, 116, 69)
Deuteranopia (Green-blind)
#737349 — rgb(115, 115, 73)
Tritanopia (Blue-blind)
#705255 — rgb(112, 82, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(68, 40%, 34%);
text
color: hsl(68, 40%, 34%);
border
border: 2px solid hsl(68, 40%, 34%);
gradient light
background: linear-gradient(to right, hsl(68, 40%, 54%), hsl(68, 40%, 34%));
gradient dark
background: linear-gradient(to right, hsl(68, 40%, 34%), hsl(68, 40%, 14%))
hex
background-color: #707934;
tailwind
bg-[hsl(68,40%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(68, 40%, 34%, 0.4);
css variable
--color-primary: hsl(68, 40%, 34%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(68, 40%, 34%)?
HEX: #707934 | RGB: rgb(112, 121, 52) | CMYK: 7%, 0%, 57%, 53% | HSV: 68°, 57%, 47%. Copy any format from the conversion table above.
What colors go well with #707934?
The complementary color is HSL(248, 40%, 34%). For a triadic harmony, use hues 68°, 188°, and 308°. For analogous combinations, try hues 38° and 98°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(68, 40%, 34%) in CSS?
As HSL: color: hsl(68, 40%, 34%); — As HEX: color: #707934; — As RGB: color: rgb(112, 121, 52); — Tailwind CSS: bg-[hsl(68,40%,34%)] — CSS variable: --color-primary: hsl(68, 40%, 34%);