HSL(120, 65%, 35%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(120,65%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(120, 65%, 35%) | color: hsl(120, 65%, 35%) | |
| HEX | #1F931F | color: #1F931F | |
| RGB | rgb(31, 147, 31) | color: rgb(31, 147, 31) | |
| CMYK | cmyk(79%, 0%, 79%, 42%) | — | |
| HSV | hsv(120, 79%, 58%) | — | |
| HWB | hwb(120 12% 42%) | color: hwb(120 12% 42%) | |
| OKLCH | oklch(0.5795 0.1804 142.8) | color: oklch(0.5795 0.1804 142.8) | |
| Lab | lab(53.23 -52.94 48.68) | color: lab(53.23 -52.94 48.68) | |
| LCH | lch(53.23 71.92 137.4) | color: lch(53.23 71.92 137.4) |
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)
#51523B — rgb(81, 82, 59)
Deuteranopia (Green-blind)
#4B4242 — rgb(75, 66, 66)
Tritanopia (Blue-blind)
#255156 — rgb(37, 81, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(120, 65%, 35%);
text
color: hsl(120, 65%, 35%);
border
border: 2px solid hsl(120, 65%, 35%);
gradient light
background: linear-gradient(to right, hsl(120, 65%, 55%), hsl(120, 65%, 35%));
gradient dark
background: linear-gradient(to right, hsl(120, 65%, 35%), hsl(120, 65%, 15%))
hex
background-color: #1F931F;
tailwind
bg-[hsl(120,65%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(120, 65%, 35%, 0.4);
css variable
--color-primary: hsl(120, 65%, 35%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(120, 65%, 35%)?
HEX: #1F931F | RGB: rgb(31, 147, 31) | CMYK: 79%, 0%, 79%, 42% | HSV: 120°, 79%, 58%. Copy any format from the conversion table above.
What colors go well with #1F931F?
The complementary color is HSL(300, 65%, 35%). For a triadic harmony, use hues 120°, 240°, and 0°. For analogous combinations, try hues 90° and 150°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(120, 65%, 35%) in CSS?
As HSL: color: hsl(120, 65%, 35%); — As HEX: color: #1F931F; — As RGB: color: rgb(31, 147, 31); — Tailwind CSS: bg-[hsl(120,65%,35%)] — CSS variable: --color-primary: hsl(120, 65%, 35%);