Color #508128 Color / Colour Code #508128

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

    #508128

    Color Conversions

    HEX
    #508128
    RGB
    rgb(80, 129, 40)
    HSL
    hsl(93, 53%, 33%)
    HSV
    hsv(93, 69%, 51%)
    CMYK
    cmyk(38%, 0%, 69%, 49%)

    Accessibility Contrast

    WCAG contrast ratios for #508128 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    4.65:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    4.51:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    4.01:1
    AA FailAA Large PassAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 63, 93, and 123 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 93, 213, and 333 degrees.

    Color Palettes Using #508128

    Monochromatic Scale

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

    #243B12 #487524 #79C33C #AEDB8A #D7EDC4
    Warm Harmony

    Adjacent hues from 93 to 138 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.

    #86C94F #68C94F #4FC956 #4FC974
    Cool Contrast

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

    #79C33C #863CC3 #C33CBC #C33C79
    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.

    #CAE0B8 #B8E0CE #B8CAE0 #CEB8E0 #E0B8CA

    Shades & Tints of #508128

    Lightness variations at hue 93 and 53% saturation.

    CSS Gradients with #508128

    Green to Purple
    linear-gradient(135deg, #508128, #592881)
    Analogous Fade
    linear-gradient(90deg, #508128, #28812c)
    Deep to Light
    linear-gradient(180deg, #2b4616, #cfe9b9)
    Tricolor Sweep
    linear-gradient(135deg, #508128, #285081, #812850)

    Design Use Cases for #508128

    Balanced UI Color

    At 53% saturation, #508128 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 33% lightness, #508128 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

    #508128 falls in the green range (hue 93). 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 #508128 (hue 93) to its complement at hue 273. For a subtler effect, try pairing with an analogous color at hue 123. Use CSS: background: linear-gradient(135deg, #508128, #592881);

    CSS Code for #508128

    /* Background */
    background-color: #508128;
    background-color: rgb(80, 129, 40);
    background-color: hsl(93, 53%, 33%);
    /* Text */
    color: #508128;
    /* Border */
    border: 2px solid #508128;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(80, 129, 40, 0.3);
    /* CSS Variable */
    --color-primary: 93 53% 33%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #508128 across image editing and color design tools.

    About Color #508128 (#508128)

    #508128 is a green color (colour) with RGB channel values of 80 red, 129 green, and 40 blue. The green channel is dominant by a ratio of 3.2:1 over the weakest channel. In HSL terms, the hue sits at 93 degrees with 53% saturation and 33% lightness, placing it in the neutral-to-cool range of the colour spectrum.

    The perceived brightness of #508128 is 104/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 38% cyan, 0% magenta, 69% yellow, and 49% key (black).

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

    The complementary colour #592881 creates maximum visual tension when paired with #508128. For more harmonious color combinations, use the analogous colours #7C8128 and #28812C, 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 #508128

    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 #508128?
    #508128 is Color #508128, a green color (colour) with RGB(80, 129, 40), HSL(93, 53%, 33%), and CMYK(38%, 0%, 69%, 49%). Its perceived brightness is 104/255.
    Is #508128 accessible for text?
    Against white, #508128 has a contrast ratio of 4.65:1 (passes AA for normal text). Against black, it has 4.51:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #508128?
    The complementary colour is #592881 (hue 273). For subtle color combinations, use analogous colours #7C8128 and #28812C. The triadic palette adds #285081 and #812850 for vibrant variety.
    How do I use #508128 in CSS?
    Use any format: color: #508128; or rgb(80, 129, 40); or hsl(93, 53%, 33%). For CSS custom properties: --color-primary: 93 53% 33%; 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.