Skip to content

#7aaa13

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

RGB
122, 170, 19
HSL
79°, 80%, 37%
CMYK
28, 0, 89, 33
Luminance
0.3293

At a glance

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

Hex
#7aaa13
Hue
79°
green
Saturation
80%
electric
Lightness
37%
dark
Brightness
67%
HSV value
Perceived
57%
weighted brightness
Luminance
0.3293
WCAG relative
Temperature
Warm
41/100 cool
Color family
Green
Tone
Electric
Best ink
Black
7.59:1
Closest name
Olive Drab
ΔE2000 9.3
Where it sits
Hue79° of 360°
Saturation80%
Lightness37%
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#7aaa13
RGBrgb(122, 170, 19)
HSLhsl(79, 80%, 37%)
CMYKcmyk(28%, 0%, 89%, 33%)
LABlab(64.1 -35.9 62.9)
LCHlch(64.1 72.4 119.7)
OKLCHoklch(0.678 0.171 127.5)
Decimal8038931
Display P3color(display-p3 0.478 0.667 0.075)

Copy-ready code

/* CSS */
color: #7aaa13;
background-color: #7aaa13;
/* Tailwind (arbitrary) */
class="text-[#7aaa13] bg-[#7aaa13]"
/* SCSS */
$brand: #7aaa13;
/* SwiftUI */
Color(red: 0.478, green: 0.667, blue: 0.075)
/* Android */
Color.parseColor("#7aaa13")
/* Flutter */
Color(0xFF7AAA13)
/* Python / OpenCV (BGR) */
(19, 170, 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 #7aaa13 · 7.59:1
Use #000000AAA at every size.
Aa
White text · 2.77:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.59:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #7aaa13 as text scores 2.77:1 on white and 7.59:1 on black.

Accessibility — WCAG contrast

Aa
#7aaa13 on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#7aaa13 on black: 7.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B39D00
deuteranopia · #AD9A28
tritanopia · #7FA290

Color scale — 50 to 950

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

#F9FCF3
#F3F9E6
#E6F5C7
#D7F49A
#C3EE68
#AFE835
#9EDC19
#7aaa13
#699310
#4E6A10
#30420A
Base = 700Lightest = 50 · #F9FCF3Darkest = 950 · #30420A
:root {
  --brand-50: #F9FCF3;
  --brand-100: #F3F9E6;
  --brand-200: #E6F5C7;
  --brand-300: #D7F49A;
  --brand-400: #C3EE68;
  --brand-500: #AFE835;
  --brand-600: #9EDC19;
  --brand-700: #7aaa13;
  --brand-800: #699310;
  --brand-900: #4E6A10;
  --brand-950: #30420A;
  --brand: #7aaa13;
  --brand-ink: #000000;
}

Colors that work with #7aaa13

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#1A0FAE
Second voice, not a rival
Dark variant#52730D
Hover, pressed, headers
Light variant#F6FCE8
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 #7aaa13

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#4313AA
Analogous left#AA8F13
Analogous right#2EAA13
Split-complement 1#132EAA
Split-complement 2#8F13AA
Triadic 1#137AAA
Triadic 2#AA137A
Tetradic#13AA8F

RGB percentages

Red47.8%
Green66.7%
Blue7.5%

CMYK percentages

Cyan28.2%
Magenta0.0%
Yellow88.8%
Key (black)33.3%

Color previews

#7aaa13 text on a black background

contrast 7.59:1

Card sample

#7aaa13 text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(122, 170, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(122, 170, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7aaa13;
background: linear-gradient(135deg, #7aaa13, #15AA13);

Monochromatic scale

Palettes built from #7aaa13

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.

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

#7aaa13, answered

What color is #7aaa13?

#7aaa13 is a dark electric green, closest to Olive Drab (ΔE2000 9.3). It sits at 79° on the hue wheel with 80% saturation and 37% lightness, which reads as warm.

What is the RGB value of #7aaa13?

rgb(122, 170, 19) — 122 red, 170 green and 19 blue out of 255, or 47.8% / 66.7% / 7.5% by channel.

Is #7aaa13 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3293 and perceived brightness is 57%, so black text on it reaches 7.59:1.

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

Black. It scores 7.59:1 against #7aaa13, versus 2.77:1 for white — AAA at any size.

What is the complementary color of #7aaa13?

#4313AA sits directly opposite on the wheel. Softer options are the split-complements #132EAA and #8F13AA, which give the same contrast with far less vibration.

What colors go well with #7aaa13?

For interface work: #F8FAF4 as the surface, #DEEDC0 for borders, #819B4B for secondary text, #1A0FAE as an accent and #52730D for hover and pressed states. For a palette, the analogous pair #AA8F13 and #2EAA13 stays calm, while #4313AA is the loudest partner.

What is #7aaa13 in CMYK for printing?

cmyk(28%, 0%, 89%, 33%). 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 #7aaa13 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 #AAA313; nudged cooler, #42AC11.

Work with #7aaa13 in the Color Lab