Skip to content

#7eb027

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

RGB
126, 176, 39
HSL
82°, 64%, 42%
CMYK
28, 0, 78, 31
Luminance
0.3563

At a glance

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

Hex
#7eb027
Hue
82°
green
Saturation
64%
vivid
Lightness
42%
dark
Brightness
69%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3563
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.13:1
Closest name
Yellow Green
ΔE2000 8
Where it sits
Hue82° of 360°
Saturation64%
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#7eb027
RGBrgb(126, 176, 39)
HSLhsl(82, 64%, 42%)
CMYKcmyk(28%, 0%, 78%, 31%)
LABlab(66.2 -36.3 59.8)
LCHlch(66.2 69.9 121.3)
OKLCHoklch(0.697 0.168 128.3)
Decimal8302631
Display P3color(display-p3 0.494 0.690 0.153)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7eb027 on white: 2.58:1
AA ✗ fail · AA-large · AAA
Aa
#7eb027 on black: 8.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B9A300
deuteranopia · #B2A035
tritanopia · #82A897

Color scale — 50 to 950

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

#F8FBF4
#F2F7E8
#E3F0CB
#D1EBA3
#B9E075
#A2D647
#8FC82C
#7eb027
#60861E
#476119
#2C3D10
Base = 700Lightest = 50 · #F8FBF4Darkest = 950 · #2C3D10
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F2F7E8;
  --brand-200: #E3F0CB;
  --brand-300: #D1EBA3;
  --brand-400: #B9E075;
  --brand-500: #A2D647;
  --brand-600: #8FC82C;
  --brand-700: #7eb027;
  --brand-800: #60861E;
  --brand-900: #476119;
  --brand-950: #2C3D10;
  --brand: #7eb027;
  --brand-ink: #000000;
}

Colors that work with #7eb027

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#7E9B4B
Captions on the surface
Accent#3423B4
Second voice, not a rival
Dark variant#4B6817
Hover, pressed, headers
Light variant#F4FAEA
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 #7eb027

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#5927B0
Analogous left#B09E27
Analogous right#3AB027
Split-complement 1#273AB0
Split-complement 2#9E27B0
Triadic 1#277EB0
Triadic 2#B0277E
Tetradic#27B09E

RGB percentages

Red49.4%
Green69.0%
Blue15.3%

CMYK percentages

Cyan28.4%
Magenta0.0%
Yellow77.8%
Key (black)31.0%

Color previews

#7eb027 text on a black background

contrast 8.13:1

Card sample

#7eb027 text on a white background

contrast 2.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(126, 176, 39, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(126, 176, 39, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7eb027;
background: linear-gradient(135deg, #7eb027, #27B02B);

Monochromatic scale

Palettes built from #7eb027

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.

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

#7eb027, answered

What color is #7eb027?

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

What is the RGB value of #7eb027?

rgb(126, 176, 39) — 126 red, 176 green and 39 blue out of 255, or 49.4% / 69% / 15.3% by channel.

Is #7eb027 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3563 and perceived brightness is 60%, so black text on it reaches 8.13:1.

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

Black. It scores 8.13:1 against #7eb027, versus 2.58:1 for white — AAA at any size.

What is the complementary color of #7eb027?

#5927B0 sits directly opposite on the wheel. Softer options are the split-complements #273AB0 and #9E27B0, which give the same contrast with far less vibration.

What colors go well with #7eb027?

For interface work: #F8FAF4 as the surface, #DCEDC0 for borders, #7E9B4B for secondary text, #3423B4 as an accent and #4B6817 for hover and pressed states. For a palette, the analogous pair #B09E27 and #3AB027 stays calm, while #5927B0 is the loudest partner.

What is #7eb027 in CMYK for printing?

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

Is #7eb027 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 #B0B027; nudged cooler, #4BB225.

Work with #7eb027 in the Color Lab