Skip to content

#7eb71d

a dark, vivid green · neutral · closest name: Yellow Green

RGB
126, 183, 29
HSL
82°, 73%, 42%
CMYK
31, 0, 84, 28
Luminance
0.3839

At a glance

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

Hex
#7eb71d
Hue
82°
green
Saturation
73%
vivid
Lightness
42%
dark
Brightness
72%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3839
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.68:1
Closest name
Yellow Green
ΔE2000 6.3
Where it sits
Hue82° of 360°
Saturation73%
Lightness42%
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#7eb71d
RGBrgb(126, 183, 29)
HSLhsl(82, 73%, 42%)
CMYKcmyk(31%, 0%, 84%, 28%)
LABlab(68.3 -39.8 64.4)
LCHlch(68.3 75.7 121.7)
OKLCHoklch(0.713 0.181 129.2)
Decimal8304413
Display P3color(display-p3 0.494 0.718 0.114)

Copy-ready code

/* CSS */
color: #7eb71d;
background-color: #7eb71d;
/* Tailwind (arbitrary) */
class="text-[#7eb71d] bg-[#7eb71d]"
/* SCSS */
$brand: #7eb71d;
/* SwiftUI */
Color(red: 0.494, green: 0.718, blue: 0.114)
/* Android */
Color.parseColor("#7eb71d")
/* Flutter */
Color(0xFF7EB71D)
/* Python / OpenCV (BGR) */
(29, 183, 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 #7eb71d · 8.68:1
Use #000000AAA at every size.
Aa
White text · 2.42:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.68:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #7eb71d as text scores 2.42:1 on white and 8.68:1 on black.

Accessibility — WCAG contrast

Aa
#7eb71d on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#7eb71d on black: 8.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C0A900
deuteranopia · #B8A530
tritanopia · #82AF9C

Color scale — 50 to 950

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

#F8FCF3
#F2F8E7
#E3F3C9
#D1F09E
#BBE86E
#A4E03D
#92D322
#7eb71d
#618D16
#486614
#2D400D
Base = 700Lightest = 50 · #F8FCF3Darkest = 950 · #2D400D
:root {
  --brand-50: #F8FCF3;
  --brand-100: #F2F8E7;
  --brand-200: #E3F3C9;
  --brand-300: #D1F09E;
  --brand-400: #BBE86E;
  --brand-500: #A4E03D;
  --brand-600: #92D322;
  --brand-700: #7eb71d;
  --brand-800: #618D16;
  --brand-900: #486614;
  --brand-950: #2D400D;
  --brand: #7eb71d;
  --brand-ink: #000000;
}

Colors that work with #7eb71d

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#DCEDC0
Hairlines and dividers
Muted text#7D9B4B
Captions on the surface
Accent#2C19BB
Second voice, not a rival
Dark variant#4C6E11
Hover, pressed, headers
Light variant#F5FCE9
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 #7eb71d

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#561DB7
Analogous left#B7A31D
Analogous right#31B71D
Split-complement 1#1D31B7
Split-complement 2#A31DB7
Triadic 1#1D7EB7
Triadic 2#B71D7E
Tetradic#1DB7A3

RGB percentages

Red49.4%
Green71.8%
Blue11.4%

CMYK percentages

Cyan31.1%
Magenta0.0%
Yellow84.2%
Key (black)28.2%

Color previews

#7eb71d text on a black background

contrast 8.68:1

Card sample

#7eb71d text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(126, 183, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(126, 183, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7eb71d;
background: linear-gradient(135deg, #7eb71d, #1DB723);

Monochromatic scale

Palettes built from #7eb71d

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.

#7eb71d 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

Converts to four-color process without much drama. Proof it anyway.

#7eb71d, answered

What color is #7eb71d?

#7eb71d is a dark vivid green, closest to Yellow Green (ΔE2000 6.3). It sits at 82° on the hue wheel with 73% saturation and 42% lightness, which reads as neutral.

What is the RGB value of #7eb71d?

rgb(126, 183, 29) — 126 red, 183 green and 29 blue out of 255, or 49.4% / 71.8% / 11.4% by channel.

Is #7eb71d a light or a dark color?

It is a mid-tone. Relative luminance is 0.3839 and perceived brightness is 61%, so black text on it reaches 8.68:1.

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

Black. It scores 8.68:1 against #7eb71d, versus 2.42:1 for white — AAA at any size.

What is the complementary color of #7eb71d?

#561DB7 sits directly opposite on the wheel. Softer options are the split-complements #1D31B7 and #A31DB7, which give the same contrast with far less vibration.

What colors go well with #7eb71d?

For interface work: #F8FAF4 as the surface, #DCEDC0 for borders, #7D9B4B for secondary text, #2C19BB as an accent and #4C6E11 for hover and pressed states. For a palette, the analogous pair #B7A31D and #31B71D stays calm, while #561DB7 is the loudest partner.

What is #7eb71d in CMYK for printing?

cmyk(31%, 0%, 84%, 28%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #7eb71d 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 #B7B71D; nudged cooler, #45B91B.

Work with #7eb71d in the Color Lab