Palettes / Colors / #508802
#508802 — Deep Vivid Green
#508802 is a green color we call Deep Vivid Green, closest to the named color OliveDrab (#6B8E23). It belongs to the green family.
Color name
Closest CSS keyword: olivedrab (#6B8E23) — not an exact match. CSS olivedrab gives you #6B8E23, a different color; use #508802 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.
#508802 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 #3A0288; it also sits naturally between #887D02 and #0D8802. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #508802 |
|---|---|
| RGB | 80, 136, 2 |
| HSL | 85°, 97%, 27% |
| HSV | 85°, 99%, 53% |
| CMYK | 41%, 0%, 99%, 47% |
| XYZ | 12.12, 19.32, 3.15 |
| Yxy | 19.32, 0.3505, 0.5585 |
| CIE-Lab | 51.06, -37.35, 54.24 |
| Hunter Lab | 43.95, -25.74, 25.06 |
RGB & CMYK percentages
Red 31% · Green 53% · Blue 1%
Cyan 41% · Magenta 0% · Yellow 99% · Key 47%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #508802
.text { color: #508802; }
.background { background-color: #508802; }
.border { border: 3px solid #508802; }
.text-rgb { color: rgb(80, 136, 2); }
.text-hsl { color: hsl(85, 97%, 27%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #508802; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(80, 136, 2, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #508802; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(80, 136, 2, 0.8); }
HTML: <p style="color:#508802">Text here</p> · <div style="background-color:#508802">Div content here</div>
Shades of #508802
Tints of #508802
Tones of #508802
Color harmonies
Complementary — #3A0288:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 4.32:1 AA large only |
|---|---|
| Against black text | 4.86:1 AA |
Best text color on #508802: #000000.
Semi-transparent (opacity) text on #508802
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:
Smaller body text shows the effect best.
Blended color: · Contrast against #508802: ·
How #508802 looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
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:
Palettes with a similar color
These palettes use a close neighbour of #508802 rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #508802?
#508802 is Deep Vivid Green, a green color (RGB 80, 136, 2). Its closest standard named color is OliveDrab.
What is the RGB and HSL of #508802?
#508802 is RGB 80, 136, 2 — HSL 85°, 97%, 27% — CMYK 41%, 0%, 99%, 47%.
What colors go with #508802?
Its complement is #3A0288; analogous partners are #887D02 and #0D8802. It also appears in 6+ palettes in our collection.
Can I use #508802 for text?
Black text on #508802 has a contrast ratio of 4.86:1 (passes WCAG AA); white text gives 4.32:1.