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