Color #2A6704 Color / Colour Code #2A6704

    This page shows the hex color code for color #2a6704 (#2A6704). The colour is a green tone with 93% saturation and 21% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #2A6704

    Color Conversions

    HEX
    #2A6704
    RGB
    rgb(42, 103, 4)
    HSL
    hsl(97, 93%, 21%)
    HSV
    hsv(97, 96%, 40%)
    CMYK
    cmyk(59%, 0%, 96%, 60%)

    Accessibility Contrast

    WCAG contrast ratios for #2A6704 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    6.91:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    3.04:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    5.95:1
    AA PassAA Large PassAAA Fail

    Complementary Colors

    #2A6704 paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 67, 97, and 127 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 97, 217, and 337 degrees.

    Color Palettes Using #2A6704

    Monochromatic Scale

    Five shades at lightness levels 15% through 85% while keeping hue at 97 and saturation at 93%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.

    #1E4A03 #3C9405 #64F609 #A2FA6B #D0FCB5
    Warm Harmony

    Adjacent hues from 97 to 142 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.

    #77E830 #49E830 #30E846 #30E874
    Cool Contrast

    Combines the base color at hue 97 with its complement at 277 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.

    #6BD926 #9426D9 #D926C4 #D9266B
    Pastel Variation

    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.

    #C7E0B8 #B8E0D1 #B8C7E0 #D1B8E0 #E0B8C7

    Shades & Tints of #2A6704

    Lightness variations at hue 97 and 93% saturation.

    CSS Gradients with #2A6704

    Green to Purple
    linear-gradient(135deg, #2a6704, #410467)
    Analogous Fade
    linear-gradient(90deg, #2a6704, #04670f)
    Deep to Light
    linear-gradient(180deg, #245903, #c7fca6)
    Tricolor Sweep
    linear-gradient(135deg, #2a6704, #042a67, #67042a)

    Design Use Cases for #2A6704

    High-Impact Accent

    With 93% saturation, #2A6704 is highly vivid. Reserve this for elements that need maximum attention: primary action buttons, notification badges, error states, or promotional banners. Use sparingly alongside neutral tones to avoid visual fatigue.

    Deep Accent & Text Color

    #2A6704 at 21% lightness is dark enough for readable body text on light backgrounds while retaining its green character. Use for headings, emphasized text, or deep accent borders. It provides contrast without the harshness of pure black.

    Success & Growth Indicators

    #2A6704 falls in the green range (hue 97). 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 #2A6704 (hue 97) to its complement at hue 277. For a subtler effect, try pairing with an analogous color at hue 127. Use CSS: background: linear-gradient(135deg, #2a6704, #410467);

    CSS Code for #2A6704

    /* Background */
    background-color: #2a6704;
    background-color: rgb(42, 103, 4);
    background-color: hsl(97, 93%, 21%);
    /* Text */
    color: #2a6704;
    /* Border */
    border: 2px solid #2a6704;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(42, 103, 4, 0.3);
    /* CSS Variable */
    --color-primary: 97 93% 21%;

    Similar Colors

    Colors visually similar to #2A6704 based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #2A6704 across image editing and color design tools.

    About Color #2A6704 (#2A6704)

    #2A6704 is a green color (colour) with RGB channel values of 42 red, 103 green, and 4 blue. The green channel is dominant by a ratio of 25.8:1 over the weakest channel. In HSL terms, the hue sits at 97 degrees with 93% saturation and 21% lightness, placing it in the neutral-to-cool range of the colour spectrum.

    The perceived brightness of #2A6704 is 73/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 59% cyan, 0% magenta, 96% yellow, and 60% key (black).

    The WCAG contrast ratio of #2A6704 against white is 6.91:1 and against black is 3.04:1. This meets the AA requirement (4.5:1) for normal text on white. For AAA compliance, consider darkening to at least 15% lightness.

    The complementary colour #410467 creates maximum visual tension when paired with #2A6704. For more harmonious color combinations, use the analogous colours #5C6704 and #04670F, 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 #2A6704

    1. Enter your color value in HEX format.
    2. The tool converts it to RGB, HSL, CMYK format in real time.
    3. Copy the converted value to your clipboard.

    Color Converter · Contrast Checker

    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 #2A6704?
    #2A6704 is Color #2A6704, a green color (colour) with RGB(42, 103, 4), HSL(97, 93%, 21%), and CMYK(59%, 0%, 96%, 60%). Its perceived brightness is 73/255.
    Is #2A6704 accessible for text?
    Against white, #2A6704 has a contrast ratio of 6.91:1 (passes AA for normal text). Against black, it has 3.04:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #2A6704?
    The complementary colour is #410467 (hue 277). For subtle color combinations, use analogous colours #5C6704 and #04670F. The triadic palette adds #042A67 and #67042A for vibrant variety.
    How do I use #2A6704 in CSS?
    Use any format: color: #2a6704; or rgb(42, 103, 4); or hsl(97, 93%, 21%). For CSS custom properties: --color-primary: 97 93% 21%; 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.