Maroon Colors  ·  Color Library

Palettes / Colors / #507A12

#507A12 — Deep Green

#507A12 is a green color we call Deep Green, closest to the named color DarkOliveGreen (#556B2F). It belongs to the green family.

Color name

Closest CSS keyword: darkolivegreen (#556B2F) — not an exact match. CSS darkolivegreen gives you #556B2F, a different color; use #507A12 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#507A12 is a warm-leaning green color associated with growth, calm and balance. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #3B1278; it also sits naturally between #786E12 and #1C7812. In the palettes below you can see it working alongside real color combinations from our collection.

#507A12 · RGB 80, 122, 18

Download PNG swatch SVG

Color values

HEX#507A12
RGB80, 122, 18
HSL84°, 74%, 27%
HSV84°, 85%, 48%
CMYK34%, 0%, 85%, 52%
XYZ10.38, 15.67, 3.05
Yxy15.67, 0.3567, 0.5385
CIE-Lab46.54, -30.58, 47.08
Hunter Lab39.58, -20.68, 21.79

RGB & CMYK percentages

Red 31% · Green 48% · Blue 7%

Cyan 34% · Magenta 0% · Yellow 85% · Key 52%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #507A12 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #507A12 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #507A12

.text { color: #507A12; }
.background { background-color: #507A12; }
.border { border: 3px solid #507A12; }
.text-rgb { color: rgb(80, 122, 18); }
.text-hsl { color: hsl(84, 74%, 27%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #507A12; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(80, 122, 18, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #507A12; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(80, 122, 18, 0.8); }

HTML: <p style="color:#507A12">Text here</p> · <div style="background-color:#507A12">Div content here</div>

Shades of #507A12

#496F11#40620F#3B590D#35500C#2F470B#263A09#203107#1A2806#121B04#0C1203

Tints of #507A12

#649717#78B61B#8DD520#9DE137#ACE656#B9EA71#C9EE90#D8F3AF#E7F8CE#F6FCED

Tones of #507A12

#4E7019#4C6920#4B6228#495B2F#485336#464C3D

Color harmonies

Complementary — #3B1278:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.08:1 AA
Against black text4.13:1 AA large only

Best text color on #507A12: #FFFFFF.

Semi-transparent (opacity) text on #507A12

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #507A12: ·

How #507A12 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #62632BDeuteranopia · #605D31Tritanopia · #523F43

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind lime 600 · #65A30DTailwind stone 600 · #57534ETailwind neutral 600 · #525252

Palettes with a similar color

These palettes use a close neighbour of #507A12 rather than the exact color:

Vivid Ruby Petal
#537718 · #CEE063 · #682AD0 · #BDA8E7
Burning Garden
#5A7817 · #91DD4B · #5A26CC · #DACAF1
Radiant Drift
#9F112B · #B35422 · #CDB519 · #588313
Tranquil Bloom
#4E811C · #274C2E · #144E47 · #0D151F
Mellow Ruby Lagoon
#D9F4BE · #CAF2A1 · #8EE137 · #43750F
Frozen Garden
#8B4F1E · #A8A62B · #4D7F20 · #259B2D

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#537718#5A7817#588313#4E811C#43750F#4D7F20#5F7A15#546F1C#496E19#447B1C#596E17#45781E

Browse neighbouring colors

← #507A11  ·  #507A13 →

Frequently asked questions

What color is #507A12?

#507A12 is Deep Green, a green color (RGB 80, 122, 18). Its closest standard named color is DarkOliveGreen.

What is the RGB and HSL of #507A12?

#507A12 is RGB 80, 122, 18 — HSL 84°, 74%, 27% — CMYK 34%, 0%, 85%, 52%.

What colors go with #507A12?

Its complement is #3B1278; analogous partners are #786E12 and #1C7812. It also appears in 6+ palettes in our collection.

Can I use #507A12 for text?

White text on #507A12 has a contrast ratio of 5.08:1 (passes WCAG AA); black text gives 4.13:1.