Color #7E7B16 Color / Colour Code #7E7B16

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

    #7E7B16

    Color Conversions

    HEX
    #7E7B16
    RGB
    rgb(126, 123, 22)
    HSL
    hsl(58, 70%, 29%)
    HSV
    hsv(58, 83%, 49%)
    CMYK
    cmyk(0%, 2%, 83%, 51%)

    Accessibility Contrast

    WCAG contrast ratios for #7E7B16 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    4.44:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    4.73:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    3.83:1
    AA FailAA Large PassAAA Fail

    Complementary Colors

    #7E7B16 paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 28, 58, and 88 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 58, 178, and 298 degrees.

    Color Palettes Using #7E7B16

    Monochromatic Scale

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

    #413F0B #827E17 #D9D326 #E8E47D #F4F2BE
    Warm Harmony

    Adjacent hues from 58 to 103 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.

    #DDD73C #BADD3C #92DD3C #69DD3C
    Cool Contrast

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

    #D9D326 #262CD9 #7A26D9 #D326D9
    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.

    #E0DFB8 #B9E0B8 #B8E0DF #B8B9E0 #DFB8E0

    Shades & Tints of #7E7B16

    Lightness variations at hue 58 and 70% saturation.

    CSS Gradients with #7E7B16

    Yellow to Blue
    linear-gradient(135deg, #7e7b16, #161a7e)
    Analogous Fade
    linear-gradient(90deg, #7e7b16, #4d7e16)
    Deep to Light
    linear-gradient(180deg, #4e4c0e, #f1efb1)
    Tricolor Sweep
    linear-gradient(135deg, #7e7a16, #167e7a, #7a167e)

    Design Use Cases for #7E7B16

    Vibrant Brand Color

    #7E7B16 has a strong 70% 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

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

    #7E7B16 is in the yellow spectrum (hue 58). 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 #7E7B16 (hue 58) to its complement at hue 238. For a subtler effect, try pairing with an analogous color at hue 88. Use CSS: background: linear-gradient(135deg, #7e7b16, #161a7e);

    CSS Code for #7E7B16

    /* Background */
    background-color: #7e7b16;
    background-color: rgb(126, 123, 22);
    background-color: hsl(58, 70%, 29%);
    /* Text */
    color: #7e7b16;
    /* Border */
    border: 2px solid #7e7b16;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(126, 123, 22, 0.3);
    /* CSS Variable */
    --color-primary: 58 70% 29%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #7E7B16 across image editing and color design tools.

    About Color #7E7B16 (#7E7B16)

    #7E7B16 is a yellow color (colour) with RGB channel values of 126 red, 123 green, and 22 blue. The red channel is dominant by a ratio of 5.7:1 over the weakest channel. In HSL terms, the hue sits at 58 degrees with 70% saturation and 29% lightness, placing it in the warm range of the colour spectrum.

    The perceived brightness of #7E7B16 is 112/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 0% cyan, 2% magenta, 83% yellow, and 51% key (black).

    The WCAG contrast ratio of #7E7B16 against white is 4.44:1 and against black is 4.73:1. This only passes AA for large text (18pt+) on white. For normal body text on white, darken the color or use it on a dark background where it achieves 4.73:1.

    The complementary colour #161A7E creates maximum visual tension when paired with #7E7B16. For more harmonious color combinations, use the analogous colours #7E4616 and #4D7E16, 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 #7E7B16

    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 #7E7B16?
    #7E7B16 is Color #7E7B16, a yellow color (colour) with RGB(126, 123, 22), HSL(58, 70%, 29%), and CMYK(0%, 2%, 83%, 51%). Its perceived brightness is 112/255.
    Is #7E7B16 accessible for text?
    Against white, #7E7B16 has a contrast ratio of 4.44:1 (fails AA for normal text). Against black, it has 4.73:1 (passes AA). It passes AA for large text (18pt+) on white. Use the contrast checker tool for custom background pairings.
    What colours pair well with #7E7B16?
    The complementary colour is #161A7E (hue 238). For subtle color combinations, use analogous colours #7E4616 and #4D7E16. The triadic palette adds #167E7A and #7A167E for vibrant variety.
    How do I use #7E7B16 in CSS?
    Use any format: color: #7e7b16; or rgb(126, 123, 22); or hsl(58, 70%, 29%). For CSS custom properties: --color-primary: 58 70% 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.