Skip to content

#78a521

a dark, vivid green · neutral · closest name: Olive Drab

RGB
120, 165, 33
HSL
81°, 67%, 39%
CMYK
27, 0, 80, 35
Luminance
0.3101

At a glance

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

Hex
#78a521
Hue
81°
green
Saturation
67%
vivid
Lightness
39%
dark
Brightness
65%
HSV value
Perceived
56%
weighted brightness
Luminance
0.3101
WCAG relative
Temperature
Neutral
42/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
7.20:1
Closest name
Olive Drab
ΔE2000 7.6
Where it sits
Hue81° of 360°
Saturation67%
Lightness39%
Temperature
Warm ← → Cool42% 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#78a521
RGBrgb(120, 165, 33)
HSLhsl(81, 67%, 39%)
CMYKcmyk(27%, 0%, 80%, 35%)
LABlab(62.5 -33.9 58.0)
LCHlch(62.5 67.2 120.3)
OKLCHoklch(0.665 0.161 127.5)
Decimal7906593
Display P3color(display-p3 0.471 0.647 0.129)

Copy-ready code

/* CSS */
color: #78a521;
background-color: #78a521;
/* Tailwind (arbitrary) */
class="text-[#78a521] bg-[#78a521]"
/* SCSS */
$brand: #78a521;
/* SwiftUI */
Color(red: 0.471, green: 0.647, blue: 0.129)
/* Android */
Color.parseColor("#78a521")
/* Flutter */
Color(0xFF78A521)
/* Python / OpenCV (BGR) */
(33, 165, 120)

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

Accessibility — WCAG contrast

Aa
#78a521 on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#78a521 on black: 7.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AE9900
deuteranopia · #A8962F
tritanopia · #7D9D8D

Color scale — 50 to 950

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

#F9FBF3
#F2F8E8
#E4F1CA
#D3ECA1
#BDE373
#A6DA44
#94CC29
#78a521
#63881B
#496318
#2E3E0F
Base = 700Lightest = 50 · #F9FBF3Darkest = 950 · #2E3E0F
:root {
  --brand-50: #F9FBF3;
  --brand-100: #F2F8E8;
  --brand-200: #E4F1CA;
  --brand-300: #D3ECA1;
  --brand-400: #BDE373;
  --brand-500: #A6DA44;
  --brand-600: #94CC29;
  --brand-700: #78a521;
  --brand-800: #63881B;
  --brand-900: #496318;
  --brand-950: #2E3E0F;
  --brand: #78a521;
  --brand-ink: #000000;
}

Colors that work with #78a521

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#DDEDC0
Hairlines and dividers
Muted text#7F9B4B
Captions on the surface
Accent#2A1DA9
Second voice, not a rival
Dark variant#4D6A15
Hover, pressed, headers
Light variant#F5FBEA
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 #78a521

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
  • Headers, footers and dark-mode surfaces
  • 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
  • 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#4E21A5
Analogous left#A59021
Analogous right#36A521
Split-complement 1#2136A5
Split-complement 2#9021A5
Triadic 1#2178A5
Triadic 2#A52178
Tetradic#21A590

RGB percentages

Red47.1%
Green64.7%
Blue12.9%

CMYK percentages

Cyan27.3%
Magenta0.0%
Yellow80.0%
Key (black)35.3%

Color previews

#78a521 text on a black background

contrast 7.20:1

Card sample

#78a521 text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #78a521;
Background color
Panel with #78a521 background
background-color: #78a521;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(120, 165, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(120, 165, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #78a521;
background: linear-gradient(135deg, #78a521, #21A522);

Monochromatic scale

Palettes built from #78a521

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.

#78a521 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.

#78a521, answered

What color is #78a521?

#78a521 is a dark vivid green, closest to Olive Drab (ΔE2000 7.6). It sits at 81° on the hue wheel with 67% saturation and 39% lightness, which reads as neutral.

What is the RGB value of #78a521?

rgb(120, 165, 33) — 120 red, 165 green and 33 blue out of 255, or 47.1% / 64.7% / 12.9% by channel.

Is #78a521 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3101 and perceived brightness is 56%, so black text on it reaches 7.20:1.

Should I use black or white text on #78a521?

Black. It scores 7.20:1 against #78a521, versus 2.92:1 for white — AAA at any size.

What is the complementary color of #78a521?

#4E21A5 sits directly opposite on the wheel. Softer options are the split-complements #2136A5 and #9021A5, which give the same contrast with far less vibration.

What colors go well with #78a521?

For interface work: #F8FAF4 as the surface, #DDEDC0 for borders, #7F9B4B for secondary text, #2A1DA9 as an accent and #4D6A15 for hover and pressed states. For a palette, the analogous pair #A59021 and #36A521 stays calm, while #4E21A5 is the loudest partner.

What is #78a521 in CMYK for printing?

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

Is #78a521 warm or cool?

Neutral — it scores 42 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A5A221; nudged cooler, #47A71F.

Work with #78a521 in the Color Lab