HSL(65, 92%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(65,92%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(65, 92%, 20%) | color: hsl(65, 92%, 20%) | |
| HEX | #5A6204 | color: #5A6204 | |
| RGB | rgb(90, 98, 4) | color: rgb(90, 98, 4) | |
| CMYK | cmyk(8%, 0%, 96%, 62%) | — | |
| HSV | hsv(65, 96%, 38%) | — | |
| HWB | hwb(65 2% 62%) | color: hwb(65 2% 62%) | |
| OKLCH | oklch(0.473 0.1057 115.23) | color: oklch(0.473 0.1057 115.23) | |
| Lab | lab(39.44 -14.45 44.94) | color: lab(39.44 -14.45 44.94) | |
| LCH | lch(39.44 47.21 107.82) | color: lch(39.44 47.21 107.82) |
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)
#5D5E1B — rgb(93, 94, 27)
Deuteranopia (Green-blind)
#5D5C20 — rgb(93, 92, 32)
Tritanopia (Blue-blind)
#5A2D31 — rgb(90, 45, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(65, 92%, 20%);
text
color: hsl(65, 92%, 20%);
border
border: 2px solid hsl(65, 92%, 20%);
gradient light
background: linear-gradient(to right, hsl(65, 92%, 40%), hsl(65, 92%, 20%));
gradient dark
background: linear-gradient(to right, hsl(65, 92%, 20%), hsl(65, 92%, 0%))
hex
background-color: #5A6204;
tailwind
bg-[hsl(65,92%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(65, 92%, 20%, 0.4);
css variable
--color-primary: hsl(65, 92%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(65, 92%, 20%)?
HEX: #5A6204 | RGB: rgb(90, 98, 4) | CMYK: 8%, 0%, 96%, 62% | HSV: 65°, 96%, 38%. Copy any format from the conversion table above.
What colors go well with #5A6204?
The complementary color is HSL(245, 92%, 20%). For a triadic harmony, use hues 65°, 185°, and 305°. For analogous combinations, try hues 35° and 95°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(65, 92%, 20%) in CSS?
As HSL: color: hsl(65, 92%, 20%); — As HEX: color: #5A6204; — As RGB: color: rgb(90, 98, 4); — Tailwind CSS: bg-[hsl(65,92%,20%)] — CSS variable: --color-primary: hsl(65, 92%, 20%);