HSL(85, 70%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(85,70%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(85, 70%, 18%) | color: hsl(85, 70%, 18%) | |
| HEX | #334E0E | color: #334E0E | |
| RGB | rgb(51, 78, 14) | color: rgb(51, 78, 14) | |
| CMYK | cmyk(35%, 0%, 82%, 69%) | — | |
| HSV | hsv(85, 82%, 31%) | — | |
| HWB | hwb(85 6% 69%) | color: hwb(85 6% 69%) | |
| OKLCH | oklch(0.3882 0.0944 130.17) | color: oklch(0.3882 0.0944 130.17) | |
| Lab | lab(29.87 -21.39 32.35) | color: lab(29.87 -21.39 32.35) | |
| LCH | lch(29.87 38.78 123.47) | color: lch(29.87 38.78 123.47) |
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)
#3F3F1D — rgb(63, 63, 29)
Deuteranopia (Green-blind)
#3D3B21 — rgb(61, 59, 33)
Tritanopia (Blue-blind)
#342A2C — rgb(52, 42, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(85, 70%, 18%);
text
color: hsl(85, 70%, 18%);
border
border: 2px solid hsl(85, 70%, 18%);
gradient light
background: linear-gradient(to right, hsl(85, 70%, 38%), hsl(85, 70%, 18%));
gradient dark
background: linear-gradient(to right, hsl(85, 70%, 18%), hsl(85, 70%, 0%))
hex
background-color: #334E0E;
tailwind
bg-[hsl(85,70%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(85, 70%, 18%, 0.4);
css variable
--color-primary: hsl(85, 70%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(85, 70%, 18%)?
HEX: #334E0E | RGB: rgb(51, 78, 14) | CMYK: 35%, 0%, 82%, 69% | HSV: 85°, 82%, 31%. Copy any format from the conversion table above.
What colors go well with #334E0E?
The complementary color is HSL(265, 70%, 18%). For a triadic harmony, use hues 85°, 205°, and 325°. For analogous combinations, try hues 55° and 115°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(85, 70%, 18%) in CSS?
As HSL: color: hsl(85, 70%, 18%); — As HEX: color: #334E0E; — As RGB: color: rgb(51, 78, 14); — Tailwind CSS: bg-[hsl(85,70%,18%)] — CSS variable: --color-primary: hsl(85, 70%, 18%);