Color #2E7F40 Color / Colour Code #2E7F40
This page shows the hex color code for color #2e7f40 (#2E7F40). The colour is a green tone with 47% saturation and 34% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #2E7F40 against common backgrounds.
Complementary Colors
#2E7F40 paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 103, 133, and 163 degrees for harmonious combinations.
Triadic Palette
Three colors at 133, 253, and 13 degrees.
Color Palettes Using #2E7F40
Five shades at lightness levels 15% through 85% while keeping hue at 133 and saturation at 47%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.
Adjacent hues from 133 to 178 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 133 with its complement at 313 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 #2E7F40
Lightness variations at hue 133 and 47% saturation.
CSS Gradients with #2E7F40
Design Use Cases for #2E7F40
Balanced UI Color
At 47% saturation, #2E7F40 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 34% lightness, #2E7F40 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
#2E7F40 falls in the green range (hue 133). 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 #2E7F40 (hue 133) to its complement at hue 313. For a subtler effect, try pairing with an analogous color at hue 163. Use CSS: background: linear-gradient(135deg, #2e7f40, #7f2e6e);
CSS Code for #2E7F40
Similar Colors
Colors visually similar to #2E7F40 based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #2E7F40 across image editing and color design tools.
About Color #2E7F40 (#2E7F40)
#2E7F40 is a green color (colour) with RGB channel values of 46 red, 127 green, and 64 blue. The green channel is dominant by a ratio of 2.8:1 over the weakest channel. In HSL terms, the hue sits at 133 degrees with 47% saturation and 34% lightness, placing it in the neutral-to-cool range of the colour spectrum.
The perceived brightness of #2E7F40 is 96/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 64% cyan, 0% magenta, 50% yellow, and 50% key (black).
The WCAG contrast ratio of #2E7F40 against white is 4.97:1 and against black is 4.23:1. This meets the AA requirement (4.5:1) for normal text on white. For AAA compliance, consider darkening to at least 24% lightness.
The complementary colour #7F2E6E creates maximum visual tension when paired with #2E7F40. For more harmonious color combinations, use the analogous colours #457F2E and #2E7F68, 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 #2E7F40
- 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 #2E7F40?
- #2E7F40 is Color #2E7F40, a green color (colour) with RGB(46, 127, 64), HSL(133, 47%, 34%), and CMYK(64%, 0%, 50%, 50%). Its perceived brightness is 96/255.
- Is #2E7F40 accessible for text?
- Against white, #2E7F40 has a contrast ratio of 4.97:1 (passes AA for normal text). Against black, it has 4.23:1 (fails AA). Use the contrast checker tool for custom background pairings.
- What colours pair well with #2E7F40?
- The complementary colour is #7F2E6E (hue 313). For subtle color combinations, use analogous colours #457F2E and #2E7F68. The triadic palette adds #402E7F and #7F402E for vibrant variety.
- How do I use #2E7F40 in CSS?
- Use any format: color: #2e7f40; or rgb(46, 127, 64); or hsl(133, 47%, 34%). For CSS custom properties: --color-primary: 133 47% 34%; 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.