Skip to content

#80974f

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

RGB
128, 151, 79
HSL
79°, 31%, 45%
CMYK
15, 0, 48, 41
Luminance
0.2729

At a glance

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

Hex
#80974f
Hue
79°
green
Saturation
31%
soft
Lightness
45%
balanced
Brightness
59%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2729
WCAG relative
Temperature
Warm
42/100 cool
Color family
Green
Tone
Soft
Best ink
Black
6.46:1
Closest name
Olive Drab
ΔE2000 6.7
Where it sits
Hue79° of 360°
Saturation31%
Lightness45%
Temperature
Warm ← → Cool42% 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#80974f
RGBrgb(128, 151, 79)
HSLhsl(79, 31%, 45%)
CMYKcmyk(15%, 0%, 48%, 41%)
LABlab(59.2 -20.2 35.1)
LCHlch(59.2 40.5 120.0)
OKLCHoklch(0.642 0.101 123.8)
Decimal8427343
Display P3color(display-p3 0.502 0.592 0.310)

Copy-ready code

/* CSS */
color: #80974f;
background-color: #80974f;
/* Tailwind (arbitrary) */
class="text-[#80974f] bg-[#80974f]"
/* SCSS */
$brand: #80974f;
/* SwiftUI */
Color(red: 0.502, green: 0.592, blue: 0.310)
/* Android */
Color.parseColor("#80974f")
/* Flutter */
Color(0xFF80974F)
/* Python / OpenCV (BGR) */
(79, 151, 128)

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 #80974f · 6.46:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.25:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.46:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #80974f as text scores 3.25:1 on white and 6.46:1 on black.

Accessibility — WCAG contrast

Aa
#80974f on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#80974f on black: 6.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9E8F49
deuteranopia · #9B8E53
tritanopia · #859186

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #80974f 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
#F1F3EC
#E1E7D5
#CDD8B5
#B4C591
#9BB26C
#80974f
#718646
#5B6B38
#444F2C
#2A311B
Base = 600Lightest = 50 · #F8F9F5Darkest = 950 · #2A311B
:root {
  --brand-50: #F8F9F5;
  --brand-100: #F1F3EC;
  --brand-200: #E1E7D5;
  --brand-300: #CDD8B5;
  --brand-400: #B4C591;
  --brand-500: #9BB26C;
  --brand-600: #80974f;
  --brand-700: #718646;
  --brand-800: #5B6B38;
  --brand-900: #444F2C;
  --brand-950: #2A311B;
  --brand: #80974f;
  --brand-ink: #000000;
}

Colors that work with #80974f

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#DBE3C9
Hairlines and dividers
Muted text#80974F
Captions on the surface
Accent#504A9C
Second voice, not a rival
Dark variant#47542C
Hover, pressed, headers
Light variant#F4F6EE
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 #80974f

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#664F97
Analogous left#978A4F
Analogous right#5C974F
Split-complement 1#4F5C97
Split-complement 2#8A4F97
Triadic 1#4F8097
Triadic 2#974F80
Tetradic#4F978A

RGB percentages

Red50.2%
Green59.2%
Blue31.0%

CMYK percentages

Cyan15.2%
Magenta0.0%
Yellow47.7%
Key (black)40.8%

Color previews

#80974f text on a black background

contrast 6.46:1

Card sample

#80974f text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #80974f;
Background color
Panel with #80974f background
background-color: #80974f;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(128, 151, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 151, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #80974f;
background: linear-gradient(135deg, #80974f, #50974F);

Monochromatic scale

Palettes built from #80974f

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.

#80974f 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.

#80974f, answered

What color is #80974f?

#80974f is a balanced soft green, closest to Olive Drab (ΔE2000 6.7). It sits at 79° on the hue wheel with 31% saturation and 45% lightness, which reads as warm.

What is the RGB value of #80974f?

rgb(128, 151, 79) — 128 red, 151 green and 79 blue out of 255, or 50.2% / 59.2% / 31% by channel.

Is #80974f a light or a dark color?

It is a mid-tone. Relative luminance is 0.2729 and perceived brightness is 54%, so black text on it reaches 6.46:1.

Should I use black or white text on #80974f?

Black. It scores 6.46:1 against #80974f, versus 3.25:1 for white — AA at any size.

What is the complementary color of #80974f?

#664F97 sits directly opposite on the wheel. Softer options are the split-complements #4F5C97 and #8A4F97, which give the same contrast with far less vibration.

What colors go well with #80974f?

For interface work: #F8FAF5 as the surface, #DBE3C9 for borders, #80974F for secondary text, #504A9C as an accent and #47542C for hover and pressed states. For a palette, the analogous pair #978A4F and #5C974F stays calm, while #664F97 is the loudest partner.

What is #80974f in CMYK for printing?

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

Is #80974f warm or cool?

Warm — it scores 42 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #97944F; nudged cooler, #65994D.

Work with #80974f in the Color Lab