Green Color / Colour Code #1F7A1F
This page shows the hex color code for green (#1F7A1F). The colour is a green tone with 59% saturation and 30% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #1F7A1F against common backgrounds.
Complementary Colors
#1F7A1F paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 90, 120, and 150 degrees for harmonious combinations.
Triadic Palette
Three colors at 120, 240, and 0 degrees.
Color Palettes Using #1F7A1F
Five shades at lightness levels 15% through 85% while keeping hue at 120 and saturation at 59%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.
Adjacent hues from 120 to 165 degrees create a warm, unified palette. This analogous scheme works for marketing materials, seasonal campaigns, and any design that needs visual warmth without clashing colors.
Combines the base color at hue 120 with its complement at 300 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.
Five evenly spaced hues at 40% saturation and 80% lightness. Pastels are gentle on the eyes and work well for dashboards, onboarding screens, category tags, and any interface where multiple distinct colors are needed without visual aggression.
Shades & Tints of #1F7A1F
Lightness variations at hue 120 and 59% saturation.
CSS Gradients with #1F7A1F
Design Use Cases for #1F7A1F
Balanced UI Color
At 59% saturation, #1F7A1F strikes a balance between vibrancy and restraint. This makes it versatile for primary UI elements like navigation bars, card headers, and form accents. It draws attention without overwhelming adjacent content.
Primary Interface Color
At 30% lightness, #1F7A1F is in the mid-range, making it ideal for interactive elements like buttons, links, and selected states. This lightness level ensures good contrast against both light and dark adjacent elements in most layouts.
Success & Growth Indicators
#1F7A1F falls in the green range (hue 120). Green universally represents success, growth, and safety. Use it for confirmation messages, positive chart data, eco-friendly badges, and health metrics. In financial dashboards, green indicates gains and positive performance.
Gradient Pairing
Create a gradient from #1F7A1F (hue 120) to its complement at hue 300. For a subtler effect, try pairing with an analogous color at hue 150. Use CSS: background: linear-gradient(135deg, #1f7a1f, #7a1f7a);
CSS Code for #1F7A1F
Similar Colors
Colors visually similar to #1F7A1F based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #1F7A1F across image editing and color design tools.
About Green (#1F7A1F)
#1F7A1F is a green color (colour) with RGB channel values of 31 red, 122 green, and 31 blue. The green channel is dominant by a ratio of 3.9:1 over the weakest channel. In HSL terms, the hue sits at 120 degrees with 59% saturation and 30% lightness, placing it in the neutral-to-cool range of the colour spectrum.
The perceived brightness of #1F7A1F is 84/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This appears dark to the human eye, so pair it with light text for adequate readability. For print production, the CMYK equivalent is 75% cyan, 0% magenta, 75% yellow, and 52% key (black).
The WCAG contrast ratio of #1F7A1F against white is 5.44:1 and against black is 3.86:1. This meets the AA requirement (4.5:1) for normal text on white. For AAA compliance, consider darkening to at least 21% lightness.
The complementary colour #7A1F7A creates maximum visual tension when paired with #1F7A1F. For more harmonious color combinations, use the analogous colours #4D7A1F and #1F7A4D, which sit 30 degrees on either side of the hue wheel. To build a complete design system, start with the monochromatic scale above for consistent shade variations, then add one complementary or triadic accent for interactive elements.
How to Explore Color #1F7A1F
- Enter your color value in HEX format.
- The tool converts it to RGB, HSL, CMYK format in real time.
- Copy the converted value to your clipboard.
What is HEX to RGB, HSL, CMYK color conversion
Converting from HEX to RGB, HSL, CMYK translates a color value between two different color models. Different color models are used in web design (HEX, RGB), print (CMYK), and color theory (HSL, HSV).
Related Tools & Colors
Frequently Asked Questions
- What color / colour is #1F7A1F?
- #1F7A1F is Green, a green color (colour) with RGB(31, 122, 31), HSL(120, 59%, 30%), and CMYK(75%, 0%, 75%, 52%). Its perceived brightness is 84/255.
- Is #1F7A1F accessible for text?
- Against white, #1F7A1F has a contrast ratio of 5.44:1 (passes AA for normal text). Against black, it has 3.86:1 (fails AA). Use the contrast checker tool for custom background pairings.
- What colours pair well with #1F7A1F?
- The complementary colour is #7A1F7A (hue 300). For subtle color combinations, use analogous colours #4D7A1F and #1F7A4D. The triadic palette adds #1F1F7A and #7A1F1F for vibrant variety.
- How do I use #1F7A1F in CSS?
- Use any format: color: #1f7a1f; or rgb(31, 122, 31); or hsl(120, 59%, 30%). For CSS custom properties: --color-primary: 120 59% 30%; then use it as hsl(var(--color-primary)).
- Is this color / colour explorer free?
- Yes, completely free with no signup required. All colour calculations run in your browser. You can explore any valid hex color code, not just the pre-generated palette.