Skip to content

#8aa607

a dark, electric green · cool · closest name: olivedrab

RGB
138, 166, 7
HSL
71°, 92%, 34%
CMYK
17, 0, 96, 35
Luminance
0.3269

Every format

HEX#8aa607
RGBrgb(138, 166, 7)
HSLhsl(71, 92%, 34%)
CMYKcmyk(17%, 0%, 96%, 35%)
LABlab(63.9 -27.7 65.0)
LCHlch(63.9 70.7 113.1)
OKLCHoklch(0.679 0.162 121.0)

Copy-ready code

/* CSS */
color: #8aa607;
background-color: #8aa607;
/* Tailwind (arbitrary) */
class="text-[#8aa607] bg-[#8aa607]"
/* SCSS */
$brand: #8aa607;
/* SwiftUI */
Color(red: 0.541, green: 0.651, blue: 0.027)
/* Android */
Color.parseColor("#8aa607")

Accessibility — WCAG contrast

Aa
#8aa607 on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#8aa607 on black: 7.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green65.1%
Blue2.7%

CMYK percentages

Cyan16.9%
Magenta0.0%
Yellow95.8%
Key (black)34.9%

Color previews

#8aa607 text on a black background

contrast 7.54:1

Card sample

#8aa607 text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8aa607;
Background color
Panel with #8aa607 background
background-color: #8aa607;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(138, 166, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 166, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8aa607;
background: linear-gradient(135deg, #8aa607, #20A607);

Monochromatic scale

Palettes built from #8aa607

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8aa607 in the Color Lab