Skip to content

#8fba5f

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

RGB
143, 186, 95
HSL
88°, 40%, 55%
CMYK
23, 0, 49, 27
Luminance
0.4178

At a glance

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

Hex
#8fba5f
Hue
88°
green
Saturation
40%
soft
Lightness
55%
balanced
Brightness
73%
HSV value
Perceived
65%
weighted brightness
Luminance
0.4178
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Green
Tone
Soft
Best ink
Black
9.36:1
Closest name
Yellow Green
ΔE2000 8.5
Where it sits
Hue88° of 360°
Saturation40%
Lightness55%
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#8fba5f
RGBrgb(143, 186, 95)
HSLhsl(88, 40%, 55%)
CMYKcmyk(23%, 0%, 49%, 27%)
LABlab(70.7 -29.8 41.3)
LCHlch(70.7 50.9 125.8)
OKLCHoklch(0.737 0.129 129.9)
Decimal9419359
Display P3color(display-p3 0.561 0.729 0.373)

Copy-ready code

/* CSS */
color: #8fba5f;
background-color: #8fba5f;
/* Tailwind (arbitrary) */
class="text-[#8fba5f] bg-[#8fba5f]"
/* SCSS */
$brand: #8fba5f;
/* SwiftUI */
Color(red: 0.561, green: 0.729, blue: 0.373)
/* Android */
Color.parseColor("#8fba5f")
/* Flutter */
Color(0xFF8FBA5F)
/* Python / OpenCV (BGR) */
(95, 186, 143)

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

Accessibility — WCAG contrast

Aa
#8fba5f on white: 2.24:1
AA ✗ fail · AA-large · AAA
Aa
#8fba5f on black: 9.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C1AF57
deuteranopia · #BBAC64
tritanopia · #92B3A5

Color scale — 50 to 950

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

#F7FAF5
#F0F4EB
#DEE9D2
#C8DDB1
#ADCC89
#8fba5f
#7DAB4A
#688E3E
#537231
#3E5427
#273418
Base = 500Lightest = 50 · #F7FAF5Darkest = 950 · #273418
:root {
  --brand-50: #F7FAF5;
  --brand-100: #F0F4EB;
  --brand-200: #DEE9D2;
  --brand-300: #C8DDB1;
  --brand-400: #ADCC89;
  --brand-500: #8fba5f;
  --brand-600: #7DAB4A;
  --brand-700: #688E3E;
  --brand-800: #537231;
  --brand-900: #3E5427;
  --brand-950: #273418;
  --brand: #8fba5f;
  --brand-ink: #000000;
}

Colors that work with #8fba5f

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#D7E6C6
Hairlines and dividers
Muted text#759B4B
Captions on the surface
Accent#715ABF
Second voice, not a rival
Dark variant#415926
Hover, pressed, headers
Light variant#F3F7ED
Selected rows, tints
Dark surface#1C2414
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 #8fba5f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#8A5FBA
Analogous left#BAB85F
Analogous right#61BA5F
Split-complement 1#5F61BA
Split-complement 2#B85FBA
Triadic 1#5F8FBA
Triadic 2#BA5F8F
Tetradic#5FBAB8

RGB percentages

Red56.1%
Green72.9%
Blue37.3%

CMYK percentages

Cyan23.1%
Magenta0.0%
Yellow48.9%
Key (black)27.1%

Color previews

#8fba5f text on a black background

contrast 9.36:1

Card sample

#8fba5f text on a white background

contrast 2.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8fba5f;
Background color
Panel with #8fba5f background
background-color: #8fba5f;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(143, 186, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 186, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8fba5f;
background: linear-gradient(135deg, #8fba5f, #5FBA6C);

Monochromatic scale

Palettes built from #8fba5f

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.

#8fba5f 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.

#8fba5f, answered

What color is #8fba5f?

#8fba5f is a balanced soft green, closest to Yellow Green (ΔE2000 8.5). It sits at 88° on the hue wheel with 40% saturation and 55% lightness, which reads as neutral.

What is the RGB value of #8fba5f?

rgb(143, 186, 95) — 143 red, 186 green and 95 blue out of 255, or 56.1% / 72.9% / 37.3% by channel.

Is #8fba5f a light or a dark color?

It is a mid-tone. Relative luminance is 0.4178 and perceived brightness is 65%, so black text on it reaches 9.36:1.

Should I use black or white text on #8fba5f?

Black. It scores 9.36:1 against #8fba5f, versus 2.24:1 for white — AAA at any size.

What is the complementary color of #8fba5f?

#8A5FBA sits directly opposite on the wheel. Softer options are the split-complements #5F61BA and #B85FBA, which give the same contrast with far less vibration.

What colors go well with #8fba5f?

For interface work: #F8FAF4 as the surface, #D7E6C6 for borders, #759B4B for secondary text, #715ABF as an accent and #415926 for hover and pressed states. For a palette, the analogous pair #BAB85F and #61BA5F stays calm, while #8A5FBA is the loudest partner.

What is #8fba5f in CMYK for printing?

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

Is #8fba5f 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 #B0BA5F; nudged cooler, #6CBC5D.

Work with #8fba5f in the Color Lab