HSL(87, 70%, 38%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,70%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 70%, 38%) | color: hsl(87, 70%, 38%) | |
| HEX | #68A51D | color: #68A51D | |
| RGB | rgb(104, 165, 29) | color: rgb(104, 165, 29) | |
| CMYK | cmyk(37%, 0%, 82%, 35%) | — | |
| HSV | hsv(87, 82%, 65%) | — | |
| HWB | hwb(87 12% 35%) | color: hwb(87 12% 35%) | |
| OKLCH | oklch(0.6555 0.1709 131.84) | color: oklch(0.6555 0.1709 131.84) | |
| Lab | lab(61.6 -40.18 58.03) | color: lab(61.6 -40.18 58.03) | |
| LCH | lch(61.6 70.58 124.7) | color: lch(61.6 70.58 124.7) |
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)
#82833E — rgb(130, 131, 62)
Deuteranopia (Green-blind)
#7F7A46 — rgb(127, 122, 70)
Tritanopia (Blue-blind)
#6B585E — rgb(107, 88, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 70%, 38%);
text
color: hsl(87, 70%, 38%);
border
border: 2px solid hsl(87, 70%, 38%);
gradient light
background: linear-gradient(to right, hsl(87, 70%, 58%), hsl(87, 70%, 38%));
gradient dark
background: linear-gradient(to right, hsl(87, 70%, 38%), hsl(87, 70%, 18%))
hex
background-color: #68A51D;
tailwind
bg-[hsl(87,70%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 70%, 38%, 0.4);
css variable
--color-primary: hsl(87, 70%, 38%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 70%, 38%)?
HEX: #68A51D | RGB: rgb(104, 165, 29) | CMYK: 37%, 0%, 82%, 35% | HSV: 87°, 82%, 65%. Copy any format from the conversion table above.
What colors go well with #68A51D?
The complementary color is HSL(267, 70%, 38%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(87, 70%, 38%) in CSS?
As HSL: color: hsl(87, 70%, 38%); — As HEX: color: #68A51D; — As RGB: color: rgb(104, 165, 29); — Tailwind CSS: bg-[hsl(87,70%,38%)] — CSS variable: --color-primary: hsl(87, 70%, 38%);