HSL(83, 61%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(83,61%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(83, 61%, 31%) | color: hsl(83, 61%, 31%) | |
| HEX | #5A7F1F | color: #5A7F1F | |
| RGB | rgb(90, 127, 31) | color: rgb(90, 127, 31) | |
| CMYK | cmyk(29%, 0%, 76%, 50%) | — | |
| HSV | hsv(83, 76%, 50%) | — | |
| HWB | hwb(83 12% 50%) | color: hwb(83 12% 50%) | |
| OKLCH | oklch(0.5493 0.1291 128.63) | color: oklch(0.5493 0.1291 128.63) | |
| Lab | lab(48.82 -28.21 45.12) | color: lab(48.82 -28.21 45.12) | |
| LCH | lch(48.82 53.21 122.01) | color: lch(48.82 53.21 122.01) |
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)
#6A6A36 — rgb(106, 106, 54)
Deuteranopia (Green-blind)
#68653C — rgb(104, 101, 60)
Tritanopia (Blue-blind)
#5C494D — rgb(92, 73, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(83, 61%, 31%);
text
color: hsl(83, 61%, 31%);
border
border: 2px solid hsl(83, 61%, 31%);
gradient light
background: linear-gradient(to right, hsl(83, 61%, 51%), hsl(83, 61%, 31%));
gradient dark
background: linear-gradient(to right, hsl(83, 61%, 31%), hsl(83, 61%, 11%))
hex
background-color: #5A7F1F;
tailwind
bg-[hsl(83,61%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(83, 61%, 31%, 0.4);
css variable
--color-primary: hsl(83, 61%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(83, 61%, 31%)?
HEX: #5A7F1F | RGB: rgb(90, 127, 31) | CMYK: 29%, 0%, 76%, 50% | HSV: 83°, 76%, 50%. Copy any format from the conversion table above.
What colors go well with #5A7F1F?
The complementary color is HSL(263, 61%, 31%). For a triadic harmony, use hues 83°, 203°, and 323°. For analogous combinations, try hues 53° and 113°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(83, 61%, 31%) in CSS?
As HSL: color: hsl(83, 61%, 31%); — As HEX: color: #5A7F1F; — As RGB: color: rgb(90, 127, 31); — Tailwind CSS: bg-[hsl(83,61%,31%)] — CSS variable: --color-primary: hsl(83, 61%, 31%);