Skip to content

#508607

a dark, electric green · neutral · closest name: Olive Drab

RGB
80, 134, 7
HSL
86°, 90%, 28%
CMYK
40, 0, 95, 48
Luminance
0.1877

At a glance

Every number on this page in one read: what #508607 is made of, how bright it looks, and which way it leans.

Hex
#508607
Hue
86°
green
Saturation
90%
electric
Lightness
28%
dark
Brightness
53%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1877
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Electric
Best ink
Black
4.75:1
Closest name
Olive Drab
ΔE2000 5.2
Where it sits
Hue86° of 360°
Saturation90%
Lightness28%
Temperature
Warm ← → Cool46% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#508607
RGBrgb(80, 134, 7)
HSLhsl(86, 90%, 28%)
CMYKcmyk(40%, 0%, 95%, 48%)
LABlab(50.4 -36.4 52.8)
LCHlch(50.4 64.1 124.5)
OKLCHoklch(0.560 0.154 132.3)
Decimal5277191
Display P3color(display-p3 0.314 0.525 0.027)

Copy-ready code

/* CSS */
color: #508607;
background-color: #508607;
/* Tailwind (arbitrary) */
class="text-[#508607] bg-[#508607]"
/* SCSS */
$brand: #508607;
/* SwiftUI */
Color(red: 0.314, green: 0.525, blue: 0.027)
/* Android */
Color.parseColor("#508607")
/* Flutter */
Color(0xFF508607)
/* Python / OpenCV (BGR) */
(7, 134, 80)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #508607 · 4.75:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.42:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.75:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #508607 as text scores 4.42:1 on white and 4.75:1 on black.

Accessibility — WCAG contrast

Aa
#508607 on white: 4.42:1
AA ✗ fail · AA-large · AAA
Aa
#508607 on black: 4.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8C7B00
deuteranopia · #85771C
tritanopia · #518071

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #508607 is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8FDF2
#F1FBE5
#E2F8C3
#CEF994
#B6F75F
#9EF42A
#8BE90C
#74C20A
#5D9B08
#508607
#2B4607
Base = 900Lightest = 50 · #F8FDF2Darkest = 950 · #2B4607
:root {
  --brand-50: #F8FDF2;
  --brand-100: #F1FBE5;
  --brand-200: #E2F8C3;
  --brand-300: #CEF994;
  --brand-400: #B6F75F;
  --brand-500: #9EF42A;
  --brand-600: #8BE90C;
  --brand-700: #74C20A;
  --brand-800: #5D9B08;
  --brand-900: #508607;
  --brand-950: #2B4607;
  --brand: #508607;
  --brand-ink: #000000;
}

Colors that work with #508607

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8FAF4
Tinted page background
Border#DAEDC0
Hairlines and dividers
Muted text#799B4B
Captions on the surface
Accent#1B0489
Second voice, not a rival
Dark variant#487906
Hover, pressed, headers
Light variant#F4FEE7
Selected rows, tints
Dark surface#1D2414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #508607

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#3D0786
Analogous left#867C07
Analogous right#108607
Split-complement 1#071086
Split-complement 2#7C0786
Triadic 1#075086
Triadic 2#860750
Tetradic#07867C

RGB percentages

Red31.4%
Green52.5%
Blue2.7%

CMYK percentages

Cyan40.3%
Magenta0.0%
Yellow94.8%
Key (black)47.5%

Color previews

#508607 text on a black background

contrast 4.75:1

Card sample

#508607 text on a white background

contrast 4.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #508607;
Background color
Panel with #508607 background
background-color: #508607;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #508607;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(80, 134, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 134, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #508607;
background: linear-gradient(135deg, #508607, #078613);

Monochromatic scale

Palettes built from #508607

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#508607 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#508607, answered

What color is #508607?

#508607 is a dark electric green, closest to Olive Drab (ΔE2000 5.2). It sits at 86° on the hue wheel with 90% saturation and 28% lightness, which reads as neutral.

What is the RGB value of #508607?

rgb(80, 134, 7) — 80 red, 134 green and 7 blue out of 255, or 31.4% / 52.5% / 2.7% by channel.

Is #508607 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1877 and perceived brightness is 44%, so black text on it reaches 4.75:1.

Should I use black or white text on #508607?

Black. It scores 4.75:1 against #508607, versus 4.42:1 for white — AA at any size.

What is the complementary color of #508607?

#3D0786 sits directly opposite on the wheel. Softer options are the split-complements #071086 and #7C0786, which give the same contrast with far less vibration.

What colors go well with #508607?

For interface work: #F8FAF4 as the surface, #DAEDC0 for borders, #799B4B for secondary text, #1B0489 as an accent and #487906 for hover and pressed states. For a palette, the analogous pair #867C07 and #108607 stays calm, while #3D0786 is the loudest partner.

What is #508607 in CMYK for printing?

cmyk(40%, 0%, 95%, 48%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #508607 warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7E8607; nudged cooler, #218706.

Work with #508607 in the Color Lab