Skip to content

#7eb235

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

RGB
126, 178, 53
HSL
85°, 54%, 45%
CMYK
29, 0, 70, 30
Luminance
0.3653

At a glance

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

Hex
#7eb235
Hue
85°
green
Saturation
54%
vivid
Lightness
45%
balanced
Brightness
70%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3653
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.31:1
Closest name
Yellow Green
ΔE2000 7.9
Where it sits
Hue85° of 360°
Saturation54%
Lightness45%
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#7eb235
RGBrgb(126, 178, 53)
HSLhsl(85, 54%, 45%)
CMYKcmyk(29%, 0%, 70%, 30%)
LABlab(66.9 -36.4 55.5)
LCHlch(66.9 66.4 123.2)
OKLCHoklch(0.703 0.162 129.5)
Decimal8303157
Display P3color(display-p3 0.494 0.698 0.208)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7eb235 on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#7eb235 on black: 8.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BAA521
deuteranopia · #B3A240
tritanopia · #82AA99

Color scale — 50 to 950

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

#F8FBF4
#F1F6E9
#E0EECE
#CCE5A9
#B2D87D
#99CC52
#7eb235
#6F9D2F
#597E25
#425C1F
#293913
Base = 600Lightest = 50 · #F8FBF4Darkest = 950 · #293913
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F1F6E9;
  --brand-200: #E0EECE;
  --brand-300: #CCE5A9;
  --brand-400: #B2D87D;
  --brand-500: #99CC52;
  --brand-600: #7eb235;
  --brand-700: #6F9D2F;
  --brand-800: #597E25;
  --brand-900: #425C1F;
  --brand-950: #293913;
  --brand: #7eb235;
  --brand-ink: #000000;
}

Colors that work with #7eb235

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#DAECC0
Hairlines and dividers
Muted text#799B4B
Captions on the surface
Accent#4730B7
Second voice, not a rival
Dark variant#45621D
Hover, pressed, headers
Light variant#F3F9EB
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 #7eb235

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
  • 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
  • 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#6935B2
Analogous left#B2A835
Analogous right#3FB235
Split-complement 1#353FB2
Split-complement 2#A835B2
Triadic 1#357EB2
Triadic 2#B2357E
Tetradic#35B2A8

RGB percentages

Red49.4%
Green69.8%
Blue20.8%

CMYK percentages

Cyan29.2%
Magenta0.0%
Yellow70.2%
Key (black)30.2%

Color previews

#7eb235 text on a black background

contrast 8.31:1

Card sample

#7eb235 text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(126, 178, 53, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(126, 178, 53, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7eb235;
background: linear-gradient(135deg, #7eb235, #35B23F);

Monochromatic scale

Palettes built from #7eb235

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.

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

#7eb235, answered

What color is #7eb235?

#7eb235 is a balanced vivid green, closest to Yellow Green (ΔE2000 7.9). It sits at 85° on the hue wheel with 54% saturation and 45% lightness, which reads as neutral.

What is the RGB value of #7eb235?

rgb(126, 178, 53) — 126 red, 178 green and 53 blue out of 255, or 49.4% / 69.8% / 20.8% by channel.

Is #7eb235 a light or a dark color?

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

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

Black. It scores 8.31:1 against #7eb235, versus 2.53:1 for white — AAA at any size.

What is the complementary color of #7eb235?

#6935B2 sits directly opposite on the wheel. Softer options are the split-complements #353FB2 and #A835B2, which give the same contrast with far less vibration.

What colors go well with #7eb235?

For interface work: #F8FAF4 as the surface, #DAECC0 for borders, #799B4B for secondary text, #4730B7 as an accent and #45621D for hover and pressed states. For a palette, the analogous pair #B2A835 and #3FB235 stays calm, while #6935B2 is the loudest partner.

What is #7eb235 in CMYK for printing?

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

Is #7eb235 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 #ACB235; nudged cooler, #4FB433.

Work with #7eb235 in the Color Lab