Skip to content

#7eb80d

a dark, electric green · warm · closest name: Yellow Green

RGB
126, 184, 13
HSL
80°, 87%, 39%
CMYK
32, 0, 93, 28
Luminance
0.3875

At a glance

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

Hex
#7eb80d
Hue
80°
green
Saturation
87%
electric
Lightness
39%
dark
Brightness
72%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3875
WCAG relative
Temperature
Warm
42/100 cool
Color family
Green
Tone
Electric
Best ink
Black
8.75:1
Closest name
Yellow Green
ΔE2000 6.1
Where it sits
Hue80° of 360°
Saturation87%
Lightness39%
Temperature
Warm ← → Cool42% cool

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

Every format

HEX#7eb80d
RGBrgb(126, 184, 13)
HSLhsl(80, 87%, 39%)
CMYKcmyk(32%, 0%, 93%, 28%)
LABlab(68.6 -40.7 67.6)
LCHlch(68.6 78.9 121.0)
OKLCHoklch(0.715 0.187 128.9)
Decimal8304653
Display P3color(display-p3 0.494 0.722 0.051)

Copy-ready code

/* CSS */
color: #7eb80d;
background-color: #7eb80d;
/* Tailwind (arbitrary) */
class="text-[#7eb80d] bg-[#7eb80d]"
/* SCSS */
$brand: #7eb80d;
/* SwiftUI */
Color(red: 0.494, green: 0.722, blue: 0.051)
/* Android */
Color.parseColor("#7eb80d")
/* Flutter */
Color(0xFF7EB80D)
/* Python / OpenCV (BGR) */
(13, 184, 126)

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 #7eb80d · 8.75:1
Use #000000AAA at every size.
Aa
White text · 2.40:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.75:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #7eb80d as text scores 2.40:1 on white and 8.75:1 on black.

Accessibility — WCAG contrast

Aa
#7eb80d on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#7eb80d on black: 8.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C1AA00
deuteranopia · #BAA629
tritanopia · #82AF9C

Color scale — 50 to 950

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

#F9FDF2
#F3FAE5
#E6F7C4
#D6F896
#C2F462
#AEF02D
#9CE510
#7eb80d
#68980B
#4D6E0C
#304508
Base = 700Lightest = 50 · #F9FDF2Darkest = 950 · #304508
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F3FAE5;
  --brand-200: #E6F7C4;
  --brand-300: #D6F896;
  --brand-400: #C2F462;
  --brand-500: #AEF02D;
  --brand-600: #9CE510;
  --brand-700: #7eb80d;
  --brand-800: #68980B;
  --brand-900: #4D6E0C;
  --brand-950: #304508;
  --brand: #7eb80d;
  --brand-ink: #000000;
}

Colors that work with #7eb80d

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#DDEDC0
Hairlines and dividers
Muted text#809B4B
Captions on the surface
Accent#1909BC
Second voice, not a rival
Dark variant#517708
Hover, pressed, headers
Light variant#F6FDE7
Selected rows, tints
Dark surface#1F2414
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 #7eb80d

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#470DB8
Analogous left#B89D0D
Analogous right#28B80D
Split-complement 1#0D28B8
Split-complement 2#9D0DB8
Triadic 1#0D7EB8
Triadic 2#B80D7E
Tetradic#0DB89D

RGB percentages

Red49.4%
Green72.2%
Blue5.1%

CMYK percentages

Cyan31.5%
Magenta0.0%
Yellow92.9%
Key (black)27.8%

Color previews

#7eb80d text on a black background

contrast 8.75:1

Card sample

#7eb80d text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(126, 184, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(126, 184, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7eb80d;
background: linear-gradient(135deg, #7eb80d, #0DB80E);

Monochromatic scale

Palettes built from #7eb80d

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.

#7eb80d 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.

#7eb80d, answered

What color is #7eb80d?

#7eb80d is a dark electric green, closest to Yellow Green (ΔE2000 6.1). It sits at 80° on the hue wheel with 87% saturation and 39% lightness, which reads as warm.

What is the RGB value of #7eb80d?

rgb(126, 184, 13) — 126 red, 184 green and 13 blue out of 255, or 49.4% / 72.2% / 5.1% by channel.

Is #7eb80d a light or a dark color?

It is a mid-tone. Relative luminance is 0.3875 and perceived brightness is 62%, so black text on it reaches 8.75:1.

Should I use black or white text on #7eb80d?

Black. It scores 8.75:1 against #7eb80d, versus 2.40:1 for white — AAA at any size.

What is the complementary color of #7eb80d?

#470DB8 sits directly opposite on the wheel. Softer options are the split-complements #0D28B8 and #9D0DB8, which give the same contrast with far less vibration.

What colors go well with #7eb80d?

For interface work: #F8FAF4 as the surface, #DDEDC0 for borders, #809B4B for secondary text, #1909BC as an accent and #517708 for hover and pressed states. For a palette, the analogous pair #B89D0D and #28B80D stays calm, while #470DB8 is the loudest partner.

What is #7eb80d in CMYK for printing?

cmyk(32%, 0%, 93%, 28%). 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 #7eb80d warm or cool?

Warm — it scores 42 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B8B30D; nudged cooler, #3EBA0B.

Work with #7eb80d in the Color Lab