Skip to content

#345708

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

RGB
52, 87, 8
HSL
87°, 83%, 19%
CMYK
40, 0, 91, 66
Luminance
0.0756

Every format

HEX#345708
RGBrgb(52, 87, 8)
HSLhsl(87, 83%, 19%)
CMYKcmyk(40%, 0%, 91%, 66%)
LABlab(33.1 -25.8 37.4)
LCHlch(33.1 45.4 124.6)
OKLCHoklch(0.414 0.110 131.9)

Copy-ready code

/* CSS */
color: #345708;
background-color: #345708;
/* Tailwind (arbitrary) */
class="text-[#345708] bg-[#345708]"
/* SCSS */
$brand: #345708;
/* SwiftUI */
Color(red: 0.204, green: 0.341, blue: 0.031)
/* Android */
Color.parseColor("#345708")

Accessibility — WCAG contrast

Aa
#345708 on white: 8.36:1
AA ✓ pass · AA-large · AAA
Aa
#345708 on black: 2.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.4%
Green34.1%
Blue3.1%

CMYK percentages

Cyan40.2%
Magenta0.0%
Yellow90.8%
Key (black)65.9%

Color previews

#345708 text on a black background

contrast 2.51:1

Card sample

#345708 text on a white background

contrast 8.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(52, 87, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(52, 87, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #345708;
background: linear-gradient(135deg, #345708, #085711);

Monochromatic scale

Palettes built from #345708

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #345708 in the Color Lab