Skip to content

#7aa521

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

RGB
122, 165, 33
HSL
80°, 67%, 39%
CMYK
26, 0, 80, 35
Luminance
0.3116

At a glance

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

Hex
#7aa521
Hue
80°
green
Saturation
67%
vivid
Lightness
39%
dark
Brightness
65%
HSV value
Perceived
56%
weighted brightness
Luminance
0.3116
WCAG relative
Temperature
Warm
41/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
7.23:1
Closest name
Olive Drab
ΔE2000 7.6
Where it sits
Hue80° of 360°
Saturation67%
Lightness39%
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#7aa521
RGBrgb(122, 165, 33)
HSLhsl(80, 67%, 39%)
CMYKcmyk(26%, 0%, 80%, 35%)
LABlab(62.6 -33.1 58.2)
LCHlch(62.6 67.0 119.6)
OKLCHoklch(0.667 0.160 126.8)
Decimal8037665
Display P3color(display-p3 0.478 0.647 0.129)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#7aa521 on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#7aa521 on black: 7.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AE9900
deuteranopia · #A8972F
tritanopia · #7F9D8D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #7aa521 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
#E5F1CA
#D4ECA1
#BEE373
#A9DA44
#97CC29
#7aa521
#65881B
#4A6318
#2E3E0F
Base = 700Lightest = 50 · #F9FBF3Darkest = 950 · #2E3E0F
:root {
  --brand-50: #F9FBF3;
  --brand-100: #F2F8E8;
  --brand-200: #E5F1CA;
  --brand-300: #D4ECA1;
  --brand-400: #BEE373;
  --brand-500: #A9DA44;
  --brand-600: #97CC29;
  --brand-700: #7aa521;
  --brand-800: #65881B;
  --brand-900: #4A6318;
  --brand-950: #2E3E0F;
  --brand: #7aa521;
  --brand-ink: #000000;
}

Colors that work with #7aa521

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#DEEDC0
Hairlines and dividers
Muted text#819B4B
Captions on the surface
Accent#271DA9
Second voice, not a rival
Dark variant#4F6A15
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 #7aa521

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#4C21A5
Analogous left#A58E21
Analogous right#38A521
Split-complement 1#2138A5
Split-complement 2#8E21A5
Triadic 1#217AA5
Triadic 2#A5217A
Tetradic#21A58E

RGB percentages

Red47.8%
Green64.7%
Blue12.9%

CMYK percentages

Cyan26.1%
Magenta0.0%
Yellow80.0%
Key (black)35.3%

Color previews

#7aa521 text on a black background

contrast 7.23:1

Card sample

#7aa521 text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7aa521;
Background color
Panel with #7aa521 background
background-color: #7aa521;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(122, 165, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(122, 165, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7aa521;
background: linear-gradient(135deg, #7aa521, #22A521);

Monochromatic scale

Palettes built from #7aa521

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.

#7aa521 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.

#7aa521, answered

What color is #7aa521?

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

What is the RGB value of #7aa521?

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

Is #7aa521 a light or a dark color?

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

Should I use black or white text on #7aa521?

Black. It scores 7.23:1 against #7aa521, versus 2.90:1 for white — AAA at any size.

What is the complementary color of #7aa521?

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

What colors go well with #7aa521?

For interface work: #F8FAF4 as the surface, #DEEDC0 for borders, #819B4B for secondary text, #271DA9 as an accent and #4F6A15 for hover and pressed states. For a palette, the analogous pair #A58E21 and #38A521 stays calm, while #4C21A5 is the loudest partner.

What is #7aa521 in CMYK for printing?

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

Is #7aa521 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 #A59F21; nudged cooler, #49A71F.

Work with #7aa521 in the Color Lab