Color #505D0B Color / Colour Code #505D0B

    This page shows the hex color code for color #505d0b (#505D0B). The colour is a yellow tone with 79% saturation and 20% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #505D0B

    Color Conversions

    HEX
    #505D0B
    RGB
    rgb(80, 93, 11)
    HSL
    hsl(70, 79%, 20%)
    HSV
    hsv(70, 88%, 36%)
    CMYK
    cmyk(14%, 0%, 88%, 64%)

    Accessibility Contrast

    WCAG contrast ratios for #505D0B against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    7.21: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

    #505D0B paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 40, 70, and 100 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 70, 190, and 310 degrees.

    Color Palettes Using #505D0B

    Monochromatic Scale

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

    #3A4408 #758910 #C3E41B #DBEF76 #EDF7BB
    Warm Harmony

    Adjacent hues from 70 to 115 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.

    #C9E732 #9BE732 #6EE732 #41E732
    Cool Contrast

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

    #BBD926 #4426D9 #9D26D9 #D926BB
    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.

    #DAE0B8 #B8E0BE #B8DAE0 #BEB8E0 #E0B8DA

    Shades & Tints of #505D0B

    Lightness variations at hue 70 and 79% saturation.

    CSS Gradients with #505D0B

    Yellow to Blue
    linear-gradient(135deg, #505d0b, #180b5b)
    Analogous Fade
    linear-gradient(90deg, #505d0b, #265b0b)
    Deep to Light
    linear-gradient(180deg, #46520a, #e9f5ad)
    Tricolor Sweep
    linear-gradient(135deg, #4e5b0b, #0b4e5b, #5b0b4e)

    Design Use Cases for #505D0B

    Vibrant Brand Color

    #505D0B has a strong 79% saturation that makes it ideal for brand identity elements. Use it for logos, primary call-to-action buttons, hero section accents, and marketing materials where visual impact matters. This saturation level is eye-catching without being harsh.

    Deep Accent & Text Color

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

    Attention & Optimism

    #505D0B is in the yellow spectrum (hue 70). Yellow attracts attention faster than any other color. Use it for warning labels, featured content markers, star ratings, and tooltip backgrounds. Pair with dark text since yellow often fails contrast checks against white.

    Gradient Pairing

    Create a gradient from #505D0B (hue 70) to its complement at hue 250. For a subtler effect, try pairing with an analogous color at hue 100. Use CSS: background: linear-gradient(135deg, #505d0b, #180b5b);

    CSS Code for #505D0B

    /* Background */
    background-color: #505d0b;
    background-color: rgb(80, 93, 11);
    background-color: hsl(70, 79%, 20%);
    /* Text */
    color: #505d0b;
    /* Border */
    border: 2px solid #505d0b;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(80, 93, 11, 0.3);
    /* CSS Variable */
    --color-primary: 70 79% 20%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #505D0B across image editing and color design tools.

    About Color #505D0B (#505D0B)

    #505D0B is a yellow color (colour) with RGB channel values of 80 red, 93 green, and 11 blue. The green channel is dominant by a ratio of 8.5:1 over the weakest channel. In HSL terms, the hue sits at 70 degrees with 79% saturation and 20% lightness, placing it in the neutral-to-cool range of the colour spectrum.

    The perceived brightness of #505D0B is 80/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 14% cyan, 0% magenta, 88% yellow, and 64% key (black).

    The WCAG contrast ratio of #505D0B against white is 7.21: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 #180B5B creates maximum visual tension when paired with #505D0B. For more harmonious color combinations, use the analogous colours #5B400B and #265B0B, 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 #505D0B

    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 #505D0B?
    #505D0B is Color #505D0B, a yellow color (colour) with RGB(80, 93, 11), HSL(70, 79%, 20%), and CMYK(14%, 0%, 88%, 64%). Its perceived brightness is 80/255.
    Is #505D0B accessible for text?
    Against white, #505D0B has a contrast ratio of 7.21: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 #505D0B?
    The complementary colour is #180B5B (hue 250). For subtle color combinations, use analogous colours #5B400B and #265B0B. The triadic palette adds #0B4E5B and #5B0B4E for vibrant variety.
    How do I use #505D0B in CSS?
    Use any format: color: #505d0b; or rgb(80, 93, 11); or hsl(70, 79%, 20%). For CSS custom properties: --color-primary: 70 79% 20%; 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.