Color #336138 Color / Colour Code #336138

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

    #336138

    Color Conversions

    HEX
    #336138
    RGB
    rgb(51, 97, 56)
    HSL
    hsl(127, 31%, 29%)
    HSV
    hsv(127, 47%, 38%)
    CMYK
    cmyk(47%, 0%, 42%, 62%)

    Accessibility Contrast

    WCAG contrast ratios for #336138 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    7.22:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    2.91:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    6.22:1
    AA PassAA Large PassAAA Fail

    Complementary Colors

    #336138 paired with its color wheel opposite for maximum contrast.

    Analogous Colors

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

    Triadic Palette

    Three colors at 127, 247, and 7 degrees.

    Color Palettes Using #336138

    Monochromatic Scale

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

    #1A321D #35643A #58A761 #9BCAA0 #CDE5D0
    Warm Harmony

    Adjacent hues from 127 to 172 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.

    #69B071 #69B083 #69B095 #69B0A6
    Cool Contrast

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

    #58A761 #A7589E #A75876 #A76158
    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.

    #B8E0BC #B8DCE0 #BCB8E0 #E0B8DC #E0BCB8

    Shades & Tints of #336138

    Lightness variations at hue 127 and 31% saturation.

    CSS Gradients with #336138

    Green to Purple
    linear-gradient(135deg, #336138, #61335c)
    Analogous Fade
    linear-gradient(90deg, #336138, #33614f)
    Deep to Light
    linear-gradient(180deg, #203c23, #c3dfc6)
    Tricolor Sweep
    linear-gradient(135deg, #336138, #383361, #613833)

    Design Use Cases for #336138

    Balanced UI Color

    At 31% saturation, #336138 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.

    Deep Accent & Text Color

    #336138 at 29% 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

    #336138 falls in the green range (hue 127). 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 #336138 (hue 127) to its complement at hue 307. For a subtler effect, try pairing with an analogous color at hue 157. Use CSS: background: linear-gradient(135deg, #336138, #61335c);

    CSS Code for #336138

    /* Background */
    background-color: #336138;
    background-color: rgb(51, 97, 56);
    background-color: hsl(127, 31%, 29%);
    /* Text */
    color: #336138;
    /* Border */
    border: 2px solid #336138;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(51, 97, 56, 0.3);
    /* CSS Variable */
    --color-primary: 127 31% 29%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #336138 across image editing and color design tools.

    About Color #336138 (#336138)

    #336138 is a green color (colour) with RGB channel values of 51 red, 97 green, and 56 blue. The green channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 127 degrees with 31% saturation and 29% lightness, placing it in the neutral-to-cool range of the colour spectrum.

    The perceived brightness of #336138 is 79/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 47% cyan, 0% magenta, 42% yellow, and 62% key (black).

    The WCAG contrast ratio of #336138 against white is 7.22:1 and against black is 2.91:1. This exceeds the AAA requirement (7:1) for normal text on white, making it excellent for body text and small UI labels on light backgrounds.

    The complementary colour #61335C creates maximum visual tension when paired with #336138. For more harmonious color combinations, use the analogous colours #456133 and #33614F, 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 #336138

    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 #336138?
    #336138 is Color #336138, a green color (colour) with RGB(51, 97, 56), HSL(127, 31%, 29%), and CMYK(47%, 0%, 42%, 62%). Its perceived brightness is 79/255.
    Is #336138 accessible for text?
    Against white, #336138 has a contrast ratio of 7.22:1 (passes AA for normal text). Against black, it has 2.91:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #336138?
    The complementary colour is #61335C (hue 307). For subtle color combinations, use analogous colours #456133 and #33614F. The triadic palette adds #383361 and #613833 for vibrant variety.
    How do I use #336138 in CSS?
    Use any format: color: #336138; or rgb(51, 97, 56); or hsl(127, 31%, 29%). For CSS custom properties: --color-primary: 127 31% 29%; 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.