Skip to content

#7fba3d

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

RGB
127, 186, 61
HSL
88°, 51%, 48%
CMYK
32, 0, 67, 27
Luminance
0.3997

At a glance

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

Hex
#7fba3d
Hue
88°
green
Saturation
51%
vivid
Lightness
48%
balanced
Brightness
73%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3997
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.99:1
Closest name
Yellow Green
ΔE2000 6.5
Where it sits
Hue88° of 360°
Saturation51%
Lightness48%
Temperature
Warm ← → Cool49% 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#7fba3d
RGBrgb(127, 186, 61)
HSLhsl(88, 51%, 48%)
CMYKcmyk(32%, 0%, 67%, 27%)
LABlab(69.5 -39.0 55.0)
LCHlch(69.5 67.4 125.3)
OKLCHoklch(0.723 0.167 131.2)
Decimal8370749
Display P3color(display-p3 0.498 0.729 0.239)

Copy-ready code

/* CSS */
color: #7fba3d;
background-color: #7fba3d;
/* Tailwind (arbitrary) */
class="text-[#7fba3d] bg-[#7fba3d]"
/* SCSS */
$brand: #7fba3d;
/* SwiftUI */
Color(red: 0.498, green: 0.729, blue: 0.239)
/* Android */
Color.parseColor("#7fba3d")
/* Flutter */
Color(0xFF7FBA3D)
/* Python / OpenCV (BGR) */
(61, 186, 127)

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

Accessibility — WCAG contrast

Aa
#7fba3d on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#7fba3d on black: 8.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C2AC2B
deuteranopia · #BAA847
tritanopia · #81B2A1

Color scale — 50 to 950

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

#F8FAF4
#F0F6EA
#DFEDCF
#C9E3AB
#ADD580
#92C856
#7fba3d
#699A32
#547B28
#3F5A21
#273814
Base = 600Lightest = 50 · #F8FAF4Darkest = 950 · #273814
:root {
  --brand-50: #F8FAF4;
  --brand-100: #F0F6EA;
  --brand-200: #DFEDCF;
  --brand-300: #C9E3AB;
  --brand-400: #ADD580;
  --brand-500: #92C856;
  --brand-600: #7fba3d;
  --brand-700: #699A32;
  --brand-800: #547B28;
  --brand-900: #3F5A21;
  --brand-950: #273814;
  --brand: #7fba3d;
  --brand-ink: #000000;
}

Colors that work with #7fba3d

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#D7EBC2
Hairlines and dividers
Muted text#759B4B
Captions on the surface
Accent#5638BF
Second voice, not a rival
Dark variant#42601F
Hover, pressed, headers
Light variant#F3F9EC
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 #7fba3d

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#783DBA
Analogous left#BAB63D
Analogous right#41BA3D
Split-complement 1#3D41BA
Split-complement 2#B63DBA
Triadic 1#3D7FBA
Triadic 2#BA3D7F
Tetradic#3DBAB6

RGB percentages

Red49.8%
Green72.9%
Blue23.9%

CMYK percentages

Cyan31.7%
Magenta0.0%
Yellow67.2%
Key (black)27.1%

Color previews

#7fba3d text on a black background

contrast 8.99:1

Card sample

#7fba3d text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(127, 186, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 186, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7fba3d;
background: linear-gradient(135deg, #7fba3d, #3DBA4E);

Monochromatic scale

Palettes built from #7fba3d

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.

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

#7fba3d, answered

What color is #7fba3d?

#7fba3d is a balanced vivid green, closest to Yellow Green (ΔE2000 6.5). It sits at 88° on the hue wheel with 51% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #7fba3d?

rgb(127, 186, 61) — 127 red, 186 green and 61 blue out of 255, or 49.8% / 72.9% / 23.9% by channel.

Is #7fba3d a light or a dark color?

It is a mid-tone. Relative luminance is 0.3997 and perceived brightness is 63%, so black text on it reaches 8.99:1.

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

Black. It scores 8.99:1 against #7fba3d, versus 2.34:1 for white — AAA at any size.

What is the complementary color of #7fba3d?

#783DBA sits directly opposite on the wheel. Softer options are the split-complements #3D41BA and #B63DBA, which give the same contrast with far less vibration.

What colors go well with #7fba3d?

For interface work: #F8FAF4 as the surface, #D7EBC2 for borders, #759B4B for secondary text, #5638BF as an accent and #42601F for hover and pressed states. For a palette, the analogous pair #BAB63D and #41BA3D stays calm, while #783DBA is the loudest partner.

What is #7fba3d in CMYK for printing?

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

Is #7fba3d warm or cool?

Neutral — it scores 49 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #ADBA3D; nudged cooler, #4FBC3B.

Work with #7fba3d in the Color Lab