HSL(140, 85%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(140,85%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 85%, 20%) | color: hsl(140, 85%, 20%) | |
| HEX | #085E25 | color: #085E25 | |
| RGB | rgb(8, 94, 37) | color: rgb(8, 94, 37) | |
| CMYK | cmyk(91%, 0%, 61%, 63%) | — | |
| HSV | hsv(140, 91%, 37%) | — | |
| HWB | hwb(140 3% 63%) | color: hwb(140 3% 63%) | |
| OKLCH | oklch(0.4219 0.117 148.3) | color: oklch(0.4219 0.117 148.3) | |
| Lab | lab(34.38 -37.11 25.8) | color: lab(34.38 -37.11 25.8) | |
| LCH | lch(34.38 45.2 145.19) | color: lch(34.38 45.2 145.19) |
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)
#2D2E33 — rgb(45, 46, 51)
Deuteranopia (Green-blind)
#282236 — rgb(40, 34, 54)
Tritanopia (Blue-blind)
#0C3E40 — rgb(12, 62, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 85%, 20%);
text
color: hsl(140, 85%, 20%);
border
border: 2px solid hsl(140, 85%, 20%);
gradient light
background: linear-gradient(to right, hsl(140, 85%, 40%), hsl(140, 85%, 20%));
gradient dark
background: linear-gradient(to right, hsl(140, 85%, 20%), hsl(140, 85%, 0%))
hex
background-color: #085E25;
tailwind
bg-[hsl(140,85%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 85%, 20%, 0.4);
css variable
--color-primary: hsl(140, 85%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(140, 85%, 20%)?
HEX: #085E25 | RGB: rgb(8, 94, 37) | CMYK: 91%, 0%, 61%, 63% | HSV: 140°, 91%, 37%. Copy any format from the conversion table above.
What colors go well with #085E25?
The complementary color is HSL(320, 85%, 20%). For a triadic harmony, use hues 140°, 260°, and 20°. For analogous combinations, try hues 110° and 170°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(140, 85%, 20%) in CSS?
As HSL: color: hsl(140, 85%, 20%); — As HEX: color: #085E25; — As RGB: color: rgb(8, 94, 37); — Tailwind CSS: bg-[hsl(140,85%,20%)] — CSS variable: --color-primary: hsl(140, 85%, 20%);