Skip to content

#80980f

a dark, electric green · warm · closest name: Olive Drab

RGB
128, 152, 15
HSL
71°, 82%, 33%
CMYK
16, 0, 90, 40
Luminance
0.2708

At a glance

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

Hex
#80980f
Hue
71°
green
Saturation
82%
electric
Lightness
33%
dark
Brightness
60%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2708
WCAG relative
Temperature
Warm
34/100 cool
Color family
Green
Tone
Electric
Best ink
Black
6.42:1
Closest name
Olive Drab
ΔE2000 5.9
Where it sits
Hue71° of 360°
Saturation82%
Lightness33%
Temperature
Warm ← → Cool34% 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#80980f
RGBrgb(128, 152, 15)
HSLhsl(71, 82%, 33%)
CMYKcmyk(16%, 0%, 90%, 40%)
LABlab(59.0 -25.0 59.7)
LCHlch(59.0 64.7 112.7)
OKLCHoklch(0.638 0.148 120.4)
Decimal8427535
Display P3color(display-p3 0.502 0.596 0.059)

Copy-ready code

/* CSS */
color: #80980f;
background-color: #80980f;
/* Tailwind (arbitrary) */
class="text-[#80980f] bg-[#80980f]"
/* SCSS */
$brand: #80980f;
/* SwiftUI */
Color(red: 0.502, green: 0.596, blue: 0.059)
/* Android */
Color.parseColor("#80980f")
/* Flutter */
Color(0xFF80980F)
/* Python / OpenCV (BGR) */
(15, 152, 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 #80980f · 6.42:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.27:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.42:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #80980f as text scores 3.27:1 on white and 6.42:1 on black.

Accessibility — WCAG contrast

Aa
#80980f on white: 3.27:1
AA ✗ fail · AA-large · AAA
Aa
#80980f on black: 6.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A28E00
deuteranopia · #9F8E21
tritanopia · #888F81

Color scale — 50 to 950

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

#FBFCF2
#F6F9E6
#EDF6C6
#E5F599
#D8F066
#CBEB33
#BCDF16
#9CBA12
#80980f
#5B6B0F
#394309
Base = 800Lightest = 50 · #FBFCF2Darkest = 950 · #394309
:root {
  --brand-50: #FBFCF2;
  --brand-100: #F6F9E6;
  --brand-200: #EDF6C6;
  --brand-300: #E5F599;
  --brand-400: #D8F066;
  --brand-500: #CBEB33;
  --brand-600: #BCDF16;
  --brand-700: #9CBA12;
  --brand-800: #80980f;
  --brand-900: #5B6B0F;
  --brand-950: #394309;
  --brand: #80980f;
  --brand-ink: #000000;
}

Colors that work with #80980f

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#F9FAF4
Tinted page background
Border#E5EDC0
Hairlines and dividers
Muted text#8D9B4B
Captions on the surface
Accent#0C169B
Second voice, not a rival
Dark variant#62740B
Hover, pressed, headers
Light variant#F9FDE8
Selected rows, tints
Dark surface#222414
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 #80980f

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
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#270F98
Analogous left#986B0F
Analogous right#3B980F
Split-complement 1#0F3B98
Split-complement 2#6B0F98
Triadic 1#0F8098
Triadic 2#980F80
Tetradic#0F986B

RGB percentages

Red50.2%
Green59.6%
Blue5.9%

CMYK percentages

Cyan15.8%
Magenta0.0%
Yellow90.1%
Key (black)40.4%

Color previews

#80980f text on a black background

contrast 6.42:1

Card sample

#80980f text on a white background

contrast 3.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #80980f

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.

#80980f 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#80980f, answered

What color is #80980f?

#80980f is a dark electric green, closest to Olive Drab (ΔE2000 5.9). It sits at 71° on the hue wheel with 82% saturation and 33% lightness, which reads as warm.

What is the RGB value of #80980f?

rgb(128, 152, 15) — 128 red, 152 green and 15 blue out of 255, or 50.2% / 59.6% / 5.9% by channel.

Is #80980f a light or a dark color?

It is a mid-tone. Relative luminance is 0.2708 and perceived brightness is 53%, so black text on it reaches 6.42:1.

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

Black. It scores 6.42:1 against #80980f, versus 3.27:1 for white — AA at any size.

What is the complementary color of #80980f?

#270F98 sits directly opposite on the wheel. Softer options are the split-complements #0F3B98 and #6B0F98, which give the same contrast with far less vibration.

What colors go well with #80980f?

For interface work: #F9FAF4 as the surface, #E5EDC0 for borders, #8D9B4B for secondary text, #0C169B as an accent and #62740B for hover and pressed states. For a palette, the analogous pair #986B0F and #3B980F stays calm, while #270F98 is the loudest partner.

What is #80980f in CMYK for printing?

cmyk(16%, 0%, 90%, 40%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #80980f warm or cool?

Warm — it scores 34 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #987E0F; nudged cooler, #4E990D.

Work with #80980f in the Color Lab