Color #172E0F Color / Colour Code #172E0F

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

    #172E0F

    Color Conversions

    HEX
    #172E0F
    RGB
    rgb(23, 46, 15)
    HSL
    hsl(105, 51%, 12%)
    HSV
    hsv(105, 67%, 18%)
    CMYK
    cmyk(50%, 0%, 67%, 82%)

    Accessibility Contrast

    WCAG contrast ratios for #172E0F against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    14.64:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Black (#000000)
    1.43:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    12.62:1
    AA PassAA Large PassAAA Pass

    Complementary Colors

    #172E0F paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 75, 105, and 135 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 105, 225, and 345 degrees.

    Color Palettes Using #172E0F

    Monochromatic Scale

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

    #1C3A13 #397425 #5FC13E #9FDA8B #CFECC5
    Warm Harmony

    Adjacent hues from 105 to 150 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.

    #6FC752 #52C752 #52C76F #52C78C
    Cool Contrast

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

    #5FC13E #A03EC1 #C13EA0 #C13E5F
    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.

    #C2E0B8 #B8E0D6 #B8C2E0 #D6B8E0 #E0B8C2

    Shades & Tints of #172E0F

    Lightness variations at hue 105 and 51% saturation.

    CSS Gradients with #172E0F

    Green to Purple
    linear-gradient(135deg, #172e0f, #260f2e)
    Analogous Fade
    linear-gradient(90deg, #172e0f, #0f2e17)
    Deep to Light
    linear-gradient(180deg, #224516, #c5e9ba)
    Tricolor Sweep
    linear-gradient(135deg, #172e0f, #0f172e, #2e0f17)

    Design Use Cases for #172E0F

    Balanced UI Color

    At 51% saturation, #172E0F 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.

    Dark Mode Background

    At just 12% lightness, #172E0F works as a dark mode background or overlay color. Dark backgrounds reduce eye strain in low-light environments and make bright accent colors pop. Pair with light text (minimum 4.5:1 contrast ratio) for readability.

    Success & Growth Indicators

    #172E0F falls in the green range (hue 105). 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 #172E0F (hue 105) to its complement at hue 285. For a subtler effect, try pairing with an analogous color at hue 135. Use CSS: background: linear-gradient(135deg, #172e0f, #260f2e);

    CSS Code for #172E0F

    /* Background */
    background-color: #172e0f;
    background-color: rgb(23, 46, 15);
    background-color: hsl(105, 51%, 12%);
    /* Text */
    color: #172e0f;
    /* Border */
    border: 2px solid #172e0f;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(23, 46, 15, 0.3);
    /* CSS Variable */
    --color-primary: 105 51% 12%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #172E0F across image editing and color design tools.

    About Color #172E0F (#172E0F)

    #172E0F is a green color (colour) with RGB channel values of 23 red, 46 green, and 15 blue. The green channel is dominant by a ratio of 3.1:1 over the weakest channel. In HSL terms, the hue sits at 105 degrees with 51% saturation and 12% lightness, placing it in the neutral-to-cool range of the colour spectrum.

    The perceived brightness of #172E0F is 36/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 50% cyan, 0% magenta, 67% yellow, and 82% key (black).

    The WCAG contrast ratio of #172E0F against white is 14.64:1 and against black is 1.43: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 #260F2E creates maximum visual tension when paired with #172E0F. For more harmonious color combinations, use the analogous colours #262E0F and #0F2E17, 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 #172E0F

    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 #172E0F?
    #172E0F is Color #172E0F, a green color (colour) with RGB(23, 46, 15), HSL(105, 51%, 12%), and CMYK(50%, 0%, 67%, 82%). Its perceived brightness is 36/255.
    Is #172E0F accessible for text?
    Against white, #172E0F has a contrast ratio of 14.64:1 (passes AA for normal text). Against black, it has 1.43:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #172E0F?
    The complementary colour is #260F2E (hue 285). For subtle color combinations, use analogous colours #262E0F and #0F2E17. The triadic palette adds #0F172E and #2E0F17 for vibrant variety.
    How do I use #172E0F in CSS?
    Use any format: color: #172e0f; or rgb(23, 46, 15); or hsl(105, 51%, 12%). For CSS custom properties: --color-primary: 105 51% 12%; 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.