HSL(85, 62%, 32%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(85,62%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(85, 62%, 32%) | color: hsl(85, 62%, 32%) | |
| HEX | #5A841F | color: #5A841F | |
| RGB | rgb(90, 132, 31) | color: rgb(90, 132, 31) | |
| CMYK | cmyk(32%, 0%, 77%, 48%) | — | |
| HSV | hsv(85, 77%, 52%) | — | |
| HWB | hwb(85 12% 48%) | color: hwb(85 12% 48%) | |
| OKLCH | oklch(0.5623 0.1357 129.9) | color: oklch(0.5623 0.1357 129.9) | |
| Lab | lab(50.42 -30.59 46.68) | color: lab(50.42 -30.59 46.68) | |
| LCH | lch(50.42 55.81 123.24) | color: lch(50.42 55.81 123.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: black
Color Blindness Simulation
Protanopia (Red-blind)
#6C6D37 — rgb(108, 109, 55)
Deuteranopia (Green-blind)
#6A673D — rgb(106, 103, 61)
Tritanopia (Blue-blind)
#5C4B4F — rgb(92, 75, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(85, 62%, 32%);
text
color: hsl(85, 62%, 32%);
border
border: 2px solid hsl(85, 62%, 32%);
gradient light
background: linear-gradient(to right, hsl(85, 62%, 52%), hsl(85, 62%, 32%));
gradient dark
background: linear-gradient(to right, hsl(85, 62%, 32%), hsl(85, 62%, 12%))
hex
background-color: #5A841F;
tailwind
bg-[hsl(85,62%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(85, 62%, 32%, 0.4);
css variable
--color-primary: hsl(85, 62%, 32%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(85, 62%, 32%)?
HEX: #5A841F | RGB: rgb(90, 132, 31) | CMYK: 32%, 0%, 77%, 48% | HSV: 85°, 77%, 52%. Copy any format from the conversion table above.
What colors go well with #5A841F?
The complementary color is HSL(265, 62%, 32%). 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, 62%, 32%) in CSS?
As HSL: color: hsl(85, 62%, 32%); — As HEX: color: #5A841F; — As RGB: color: rgb(90, 132, 31); — Tailwind CSS: bg-[hsl(85,62%,32%)] — CSS variable: --color-primary: hsl(85, 62%, 32%);