Skip to content

#4aa708

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

RGB
74, 167, 8
HSL
95°, 91%, 34%
CMYK
56, 0, 95, 35
Luminance
0.2911

At a glance

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

Hex
#4aa708
Hue
95°
green
Saturation
91%
electric
Lightness
34%
dark
Brightness
65%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2911
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Electric
Best ink
Black
6.82:1
Closest name
Olive Drab
ΔE2000 9.7
Where it sits
Hue95° of 360°
Saturation91%
Lightness34%
Temperature
Warm ← → Cool52% 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#4aa708
RGBrgb(74, 167, 8)
HSLhsl(95, 91%, 34%)
CMYKcmyk(56%, 0%, 95%, 35%)
LABlab(60.9 -51.4 61.1)
LCHlch(60.9 79.8 130.1)
OKLCHoklch(0.646 0.195 137.3)
Decimal4892424
Display P3color(display-p3 0.290 0.655 0.031)

Copy-ready code

/* CSS */
color: #4aa708;
background-color: #4aa708;
/* Tailwind (arbitrary) */
class="text-[#4aa708] bg-[#4aa708]"
/* SCSS */
$brand: #4aa708;
/* SwiftUI */
Color(red: 0.290, green: 0.655, blue: 0.031)
/* Android */
Color.parseColor("#4aa708")
/* Flutter */
Color(0xFF4AA708)
/* Python / OpenCV (BGR) */
(8, 167, 74)

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

Accessibility — WCAG contrast

Aa
#4aa708 on white: 3.08:1
AA ✗ fail · AA-large · AAA
Aa
#4aa708 on black: 6.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AD9800
deuteranopia · #A19025
tritanopia · #43A18D

Color scale — 50 to 950

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

#F6FDF2
#EEFBE5
#D9F9C3
#BEFA94
#9EF75E
#7DF529
#67EA0B
#56C309
#4aa708
#34700A
#214606
Base = 800Lightest = 50 · #F6FDF2Darkest = 950 · #214606
:root {
  --brand-50: #F6FDF2;
  --brand-100: #EEFBE5;
  --brand-200: #D9F9C3;
  --brand-300: #BEFA94;
  --brand-400: #9EF75E;
  --brand-500: #7DF529;
  --brand-600: #67EA0B;
  --brand-700: #56C309;
  --brand-800: #4aa708;
  --brand-900: #34700A;
  --brand-950: #214606;
  --brand: #4aa708;
  --brand-ink: #000000;
}

Colors that work with #4aa708

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#F7FAF4
Tinted page background
Border#D2EDC0
Hairlines and dividers
Muted text#6C9B4B
Captions on the surface
Accent#3C04AA
Second voice, not a rival
Dark variant#367A06
Hover, pressed, headers
Light variant#F0FEE7
Selected rows, tints
Dark surface#1B2414
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 #4aa708

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#6508A7
Analogous left#99A708
Analogous right#08A715
Split-complement 1#1508A7
Split-complement 2#A70899
Triadic 1#084AA7
Triadic 2#A7084A
Tetradic#0899A7

RGB percentages

Red29.0%
Green65.5%
Blue3.1%

CMYK percentages

Cyan55.7%
Magenta0.0%
Yellow95.2%
Key (black)34.5%

Color previews

#4aa708 text on a black background

contrast 6.82:1

Card sample

#4aa708 text on a white background

contrast 3.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4aa708;
Background color
Panel with #4aa708 background
background-color: #4aa708;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4aa708;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(74, 167, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(74, 167, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4aa708;
background: linear-gradient(135deg, #4aa708, #08A730);

Monochromatic scale

Palettes built from #4aa708

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.

#4aa708 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.

#4aa708, answered

What color is #4aa708?

#4aa708 is a dark electric green, closest to Olive Drab (ΔE2000 9.7). It sits at 95° on the hue wheel with 91% saturation and 34% lightness, which reads as neutral.

What is the RGB value of #4aa708?

rgb(74, 167, 8) — 74 red, 167 green and 8 blue out of 255, or 29% / 65.5% / 3.1% by channel.

Is #4aa708 a light or a dark color?

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

Should I use black or white text on #4aa708?

Black. It scores 6.82:1 against #4aa708, versus 3.08:1 for white — AA at any size.

What is the complementary color of #4aa708?

#6508A7 sits directly opposite on the wheel. Softer options are the split-complements #1508A7 and #A70899, which give the same contrast with far less vibration.

What colors go well with #4aa708?

For interface work: #F7FAF4 as the surface, #D2EDC0 for borders, #6C9B4B for secondary text, #3C04AA as an accent and #367A06 for hover and pressed states. For a palette, the analogous pair #99A708 and #08A715 stays calm, while #6508A7 is the loudest partner.

What is #4aa708 in CMYK for printing?

cmyk(56%, 0%, 95%, 35%). 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 #4aa708 warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #84A708; nudged cooler, #0EA906.

Work with #4aa708 in the Color Lab