Skip to content

#8ba751

a balanced, soft green · warm · closest name: Olive Drab

RGB
139, 167, 81
HSL
80°, 35%, 49%
CMYK
17, 0, 52, 35
Luminance
0.3372

At a glance

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

Hex
#8ba751
Hue
80°
green
Saturation
35%
soft
Lightness
49%
balanced
Brightness
65%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3372
WCAG relative
Temperature
Warm
41/100 cool
Color family
Green
Tone
Soft
Best ink
Black
7.74:1
Closest name
Olive Drab
ΔE2000 9.4
Where it sits
Hue80° of 360°
Saturation35%
Lightness49%
Temperature
Warm ← → Cool41% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#8ba751
RGBrgb(139, 167, 81)
HSLhsl(80, 35%, 49%)
CMYKcmyk(17%, 0%, 52%, 35%)
LABlab(64.7 -23.6 40.9)
LCHlch(64.7 47.3 120.0)
OKLCHoklch(0.688 0.118 124.3)
Decimal9152337
Display P3color(display-p3 0.545 0.655 0.318)

Copy-ready code

/* CSS */
color: #8ba751;
background-color: #8ba751;
/* Tailwind (arbitrary) */
class="text-[#8ba751] bg-[#8ba751]"
/* SCSS */
$brand: #8ba751;
/* SwiftUI */
Color(red: 0.545, green: 0.655, blue: 0.318)
/* Android */
Color.parseColor("#8ba751")
/* Flutter */
Color(0xFF8BA751)
/* Python / OpenCV (BGR) */
(81, 167, 139)

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

Accessibility — WCAG contrast

Aa
#8ba751 on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#8ba751 on black: 7.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AF9E49
deuteranopia · #AB9D56
tritanopia · #90A093

Color scale — 50 to 950

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

#F8F9F5
#F1F4EC
#E1E8D4
#CEDAB3
#B5C88E
#9CB668
#8ba751
#728943
#5C6E35
#44512A
#2B321A
Base = 600Lightest = 50 · #F8F9F5Darkest = 950 · #2B321A
:root {
  --brand-50: #F8F9F5;
  --brand-100: #F1F4EC;
  --brand-200: #E1E8D4;
  --brand-300: #CEDAB3;
  --brand-400: #B5C88E;
  --brand-500: #9CB668;
  --brand-600: #8ba751;
  --brand-700: #728943;
  --brand-800: #5C6E35;
  --brand-900: #44512A;
  --brand-950: #2B321A;
  --brand: #8ba751;
  --brand-ink: #000000;
}

Colors that work with #8ba751

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#F8FAF5
Tinted page background
Border#DBE4C8
Hairlines and dividers
Muted text#819B4B
Captions on the surface
Accent#534CAC
Second voice, not a rival
Dark variant#47562A
Hover, pressed, headers
Light variant#F4F7EE
Selected rows, tints
Dark surface#1F2414
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 #8ba751

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#6D51A7
Analogous left#A79851
Analogous right#60A751
Split-complement 1#5160A7
Split-complement 2#9851A7
Triadic 1#518BA7
Triadic 2#A7518B
Tetradic#51A798

RGB percentages

Red54.5%
Green65.5%
Blue31.8%

CMYK percentages

Cyan16.8%
Magenta0.0%
Yellow51.5%
Key (black)34.5%

Color previews

#8ba751 text on a black background

contrast 7.74:1

Card sample

#8ba751 text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(139, 167, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(139, 167, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8ba751;
background: linear-gradient(135deg, #8ba751, #52A751);

Monochromatic scale

Palettes built from #8ba751

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.

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

#8ba751, answered

What color is #8ba751?

#8ba751 is a balanced soft green, closest to Olive Drab (ΔE2000 9.4). It sits at 80° on the hue wheel with 35% saturation and 49% lightness, which reads as warm.

What is the RGB value of #8ba751?

rgb(139, 167, 81) — 139 red, 167 green and 81 blue out of 255, or 54.5% / 65.5% / 31.8% by channel.

Is #8ba751 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3372 and perceived brightness is 59%, so black text on it reaches 7.74:1.

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

Black. It scores 7.74:1 against #8ba751, versus 2.71:1 for white — AAA at any size.

What is the complementary color of #8ba751?

#6D51A7 sits directly opposite on the wheel. Softer options are the split-complements #5160A7 and #9851A7, which give the same contrast with far less vibration.

What colors go well with #8ba751?

For interface work: #F8FAF5 as the surface, #DBE4C8 for borders, #819B4B for secondary text, #534CAC as an accent and #47562A for hover and pressed states. For a palette, the analogous pair #A79851 and #60A751 stays calm, while #6D51A7 is the loudest partner.

What is #8ba751 in CMYK for printing?

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

Is #8ba751 warm or cool?

Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A7A351; nudged cooler, #6AA94E.

Work with #8ba751 in the Color Lab