Skip to content

#507c01

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

RGB
80, 124, 1
HSL
82°, 98%, 25%
CMYK
36, 0, 99, 51
Luminance
0.1612

At a glance

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

Hex
#507c01
Hue
82°
green
Saturation
98%
electric
Lightness
25%
deep
Brightness
49%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1612
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Green
Tone
Electric
Best ink
White
4.97:1
Closest name
Olive Drab
ΔE2000 7.7
Where it sits
Hue82° of 360°
Saturation98%
Lightness25%
Temperature
Warm ← → Cool43% 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#507c01
RGBrgb(80, 124, 1)
HSLhsl(82, 98%, 25%)
CMYKcmyk(36%, 0%, 99%, 51%)
LABlab(47.1 -32.1 51.4)
LCHlch(47.1 60.5 122.0)
OKLCHoklch(0.534 0.143 130.0)
Decimal5274625
Display P3color(display-p3 0.314 0.486 0.004)

Copy-ready code

/* CSS */
color: #507c01;
background-color: #507c01;
/* Tailwind (arbitrary) */
class="text-[#507c01] bg-[#507c01]"
/* SCSS */
$brand: #507c01;
/* SwiftUI */
Color(red: 0.314, green: 0.486, blue: 0.004)
/* Android */
Color.parseColor("#507c01")
/* Flutter */
Color(0xFF507C01)
/* Python / OpenCV (BGR) */
(1, 124, 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#ffffff on #507c01 · 4.97:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.97:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.22:1
AA fail · AA large pass · AAA fail
Reading the other direction: #507c01 as text scores 4.97:1 on white and 4.22:1 on black.

Accessibility — WCAG contrast

Aa
#507c01 on white: 4.97:1
AA ✓ pass · AA-large · AAA
Aa
#507c01 on black: 4.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #827200
deuteranopia · #7C6F16
tritanopia · #527668

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #507c01 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.

#F9FEF1
#F3FCE3
#E6FBC1
#D7FE90
#C2FE58
#AEFD20
#9DF302
#82CA02
#68A201
#507c01
#304904
Base = 900Lightest = 50 · #F9FEF1Darkest = 950 · #304904
:root {
  --brand-50: #F9FEF1;
  --brand-100: #F3FCE3;
  --brand-200: #E6FBC1;
  --brand-300: #D7FE90;
  --brand-400: #C2FE58;
  --brand-500: #AEFD20;
  --brand-600: #9DF302;
  --brand-700: #82CA02;
  --brand-800: #68A201;
  --brand-900: #507c01;
  --brand-950: #304904;
  --brand: #507c01;
  --brand-ink: #ffffff;
}

Colors that work with #507c01

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

Text on it#ffffff
White wins here
Surface#F8FAF4
Tinted page background
Border#DDEDC0
Hairlines and dividers
Muted text#7E9B4B
Captions on the surface
Accent#0E007D
Second voice, not a rival
Dark variant#527E01
Hover, pressed, headers
Light variant#F6FFE6
Selected rows, tints
Dark surface#1E2414
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 #507c01

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

Works well for
  • Body text and links on white
  • 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
  • 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#2D017C
Analogous left#7C6B01
Analogous right#127C01
Split-complement 1#01127C
Split-complement 2#6B017C
Triadic 1#01507C
Triadic 2#7C0150
Tetradic#017C6B

RGB percentages

Red31.4%
Green48.6%
Blue0.4%

CMYK percentages

Cyan35.5%
Magenta0.0%
Yellow99.2%
Key (black)51.4%

Color previews

#507c01 text on a black background

contrast 4.22:1

Card sample

#507c01 text on a white background

contrast 4.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(80, 124, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 124, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #507c01;
background: linear-gradient(135deg, #507c01, #017C04);

Monochromatic scale

Palettes built from #507c01

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.

#507c01 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.

#507c01, answered

What color is #507c01?

#507c01 is a deep electric green, closest to Olive Drab (ΔE2000 7.7). It sits at 82° on the hue wheel with 98% saturation and 25% lightness, which reads as neutral.

What is the RGB value of #507c01?

rgb(80, 124, 1) — 80 red, 124 green and 1 blue out of 255, or 31.4% / 48.6% / 0.4% by channel.

Is #507c01 a light or a dark color?

It is a dark color. Relative luminance is 0.1612 and perceived brightness is 41%, so white text on it reaches 4.97:1.

Should I use black or white text on #507c01?

White. It scores 4.97:1 against #507c01, versus 4.22:1 for black — AA at any size.

What is the complementary color of #507c01?

#2D017C sits directly opposite on the wheel. Softer options are the split-complements #01127C and #6B017C, which give the same contrast with far less vibration.

What colors go well with #507c01?

For interface work: #F8FAF4 as the surface, #DDEDC0 for borders, #7E9B4B for secondary text, #0E007D as an accent and #527E01 for hover and pressed states. For a palette, the analogous pair #7C6B01 and #127C01 stays calm, while #2D017C is the loudest partner.

What is #507c01 in CMYK for printing?

cmyk(36%, 0%, 99%, 51%). 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 #507c01 warm or cool?

Neutral — it scores 43 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7C7B01; nudged cooler, #227D00.

Work with #507c01 in the Color Lab