Home /Colors /#334A12
#334A12#334A12

#334A12 color code is #334A12. Use this page to get all code formats, explore shades and tints, and find colors that work with #334a12.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #334A12

#334A12 Accessibility & WCAG Contrast

Relative luminance of #334A12 is 0.0565. Its WCAG contrast ratio is 9.86:1 against white and 2.13:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#334A12 on white9.86:1AAA
The quick brown fox
#334A12 on black2.13:1Fail
The quick brown fox
White on #334A129.86:1AAA
The quick brown fox
Black on #334A122.13:1Fail

#334A12 — Frequently Asked Questions

What is the hex code for #334A12?+
The hex code for #334A12 is #334A12. In RGB it's rgb(51, 74, 18), and in HSL it's hsl(85, 61%, 18%).
What is the RGB value of #334A12?+
#334A12 in RGB is (51, 74, 18). Written in CSS: rgb(51, 74, 18).
What is the CMYK value of #334A12?+
#334A12 converts to CMYK(31%, 0%, 76%, 71%) for print. Hex equivalent is #334A12.
Is #334a12 a warm or cool color?+
#334A12 (#334A12) is a transitional yellow-green — its hue sits at 85° on the color wheel, placing it in the transitional part of the spectrum.
What color family does #334a12 belong to?+
#334A12 belongs to the yellow-green family. Its HSL is 85°, 61%, 18% — a transitional tone within the broader yellow-green group.
Is #334a12 accessible for body text on a white background?+
#334A12 on white reaches a WCAG contrast ratio of 9.86:1 — passes WCAG AAA for body text on white.
What is the closest Pantone match for #334a12?+
The nearest Pantone match for #334A12 (#334A12) is 3139 C Darkest Moss, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #334A12 in design

Practical guidance for using #334a12 (#334A12) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Use #334A12 (#334A12) as primary text or icon color on white backgrounds — at 9.9:1 contrast it passes WCAG AAA for body copy. Avoid placing #334a12 text on dark surfaces; the contrast drops below the AA threshold.

Branding & identity

As a brand color, #334A12 (#334A12) reads as balanced and approachable and premium and serious. It fits naturally into wellness, organic food, fresh-produce, eco-conscious products. Pair it with a higher-contrast accent (warm if yellow-green runs cool, cool if it runs warm) for visual hierarchy. Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

#334A12 flatters cool-leaning skin tones (pink, rosy, blue undertones) and works best in autumn/winter collections. Pair it with cool neutrals (charcoal, slate, off-white, black) and it works as a sophisticated alternative to navy. Deep cool tones photograph richly under indoor light and read as quiet luxury — strong choice for eveningwear.

Interior design

#334A12 is a moody, atmospheric room color — perfect for libraries, dining rooms, bedrooms, and bars where you want the space to feel enclosed and cinematic. Pair with brass or unlacquered fixtures, warm overhead lighting (2700K bulbs), and natural-fiber rugs. Avoid using it in spaces with limited natural light unless that intimacy is the point.