Skip to content

#7bba2f

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

RGB
123, 186, 47
HSL
87°, 60%, 46%
CMYK
34, 0, 75, 27
Luminance
0.3953

At a glance

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

Hex
#7bba2f
Hue
87°
green
Saturation
60%
vivid
Lightness
46%
balanced
Brightness
73%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3953
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.91:1
Closest name
Yellow Green
ΔE2000 6.3
Where it sits
Hue87° of 360°
Saturation60%
Lightness46%
Temperature
Warm ← → Cool48% 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#7bba2f
RGBrgb(123, 186, 47)
HSLhsl(87, 60%, 46%)
CMYKcmyk(34%, 0%, 75%, 27%)
LABlab(69.1 -41.4 59.9)
LCHlch(69.1 72.8 124.7)
OKLCHoklch(0.720 0.178 131.3)
Decimal8108591
Display P3color(display-p3 0.482 0.729 0.184)

Copy-ready code

/* CSS */
color: #7bba2f;
background-color: #7bba2f;
/* Tailwind (arbitrary) */
class="text-[#7bba2f] bg-[#7bba2f]"
/* SCSS */
$brand: #7bba2f;
/* SwiftUI */
Color(red: 0.482, green: 0.729, blue: 0.184)
/* Android */
Color.parseColor("#7bba2f")
/* Flutter */
Color(0xFF7BBA2F)
/* Python / OpenCV (BGR) */
(47, 186, 123)

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

Accessibility — WCAG contrast

Aa
#7bba2f on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#7bba2f on black: 8.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C2AC11
deuteranopia · #BAA73D
tritanopia · #7DB29F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #7bba2f 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
#F0F7E9
#DFEFCC
#CAE8A5
#B0DD79
#95D24C
#7bba2f
#6CA329
#568221
#405F1C
#283B11
Base = 600Lightest = 50 · #F8FBF4Darkest = 950 · #283B11
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F0F7E9;
  --brand-200: #DFEFCC;
  --brand-300: #CAE8A5;
  --brand-400: #B0DD79;
  --brand-500: #95D24C;
  --brand-600: #7bba2f;
  --brand-700: #6CA329;
  --brand-800: #568221;
  --brand-900: #405F1C;
  --brand-950: #283B11;
  --brand: #7bba2f;
  --brand-ink: #000000;
}

Colors that work with #7bba2f

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#D8EDC0
Hairlines and dividers
Muted text#769B4B
Captions on the surface
Accent#482ABF
Second voice, not a rival
Dark variant#43661A
Hover, pressed, headers
Light variant#F3FAEB
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 #7bba2f

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#6E2FBA
Analogous left#BAB42F
Analogous right#35BA2F
Split-complement 1#2F35BA
Split-complement 2#B42FBA
Triadic 1#2F7BBA
Triadic 2#BA2F7B
Tetradic#2FBAB4

RGB percentages

Red48.2%
Green72.9%
Blue18.4%

CMYK percentages

Cyan33.9%
Magenta0.0%
Yellow74.7%
Key (black)27.1%

Color previews

#7bba2f text on a black background

contrast 8.91:1

Card sample

#7bba2f text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(123, 186, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(123, 186, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7bba2f;
background: linear-gradient(135deg, #7bba2f, #2FBA40);

Monochromatic scale

Palettes built from #7bba2f

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.

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

#7bba2f, answered

What color is #7bba2f?

#7bba2f is a balanced vivid green, closest to Yellow Green (ΔE2000 6.3). It sits at 87° on the hue wheel with 60% saturation and 46% lightness, which reads as neutral.

What is the RGB value of #7bba2f?

rgb(123, 186, 47) — 123 red, 186 green and 47 blue out of 255, or 48.2% / 72.9% / 18.4% by channel.

Is #7bba2f a light or a dark color?

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

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

Black. It scores 8.91:1 against #7bba2f, versus 2.36:1 for white — AAA at any size.

What is the complementary color of #7bba2f?

#6E2FBA sits directly opposite on the wheel. Softer options are the split-complements #2F35BA and #B42FBA, which give the same contrast with far less vibration.

What colors go well with #7bba2f?

For interface work: #F8FAF4 as the surface, #D8EDC0 for borders, #769B4B for secondary text, #482ABF as an accent and #43661A for hover and pressed states. For a palette, the analogous pair #BAB42F and #35BA2F stays calm, while #6E2FBA is the loudest partner.

What is #7bba2f in CMYK for printing?

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

Is #7bba2f warm or cool?

Neutral — it scores 48 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AEBA2F; nudged cooler, #47BC2D.

Work with #7bba2f in the Color Lab