Skip to content

#316708

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

RGB
49, 103, 8
HSL
94°, 86%, 22%
CMYK
52, 0, 92, 60
Luminance
0.1037

Every format

HEX#316708
RGBrgb(49, 103, 8)
HSLhsl(94, 86%, 22%)
CMYKcmyk(52%, 0%, 92%, 60%)
LABlab(38.5 -34.1 42.0)
LCHlch(38.5 54.1 129.0)
OKLCHoklch(0.459 0.132 136.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#316708 on white: 6.83:1
AA ✓ pass · AA-large · AAA
Aa
#316708 on black: 3.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red19.2%
Green40.4%
Blue3.1%

CMYK percentages

Cyan52.4%
Magenta0.0%
Yellow92.2%
Key (black)59.6%

Color previews

#316708 text on a black background

contrast 3.07:1

Card sample

#316708 text on a white background

contrast 6.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(49, 103, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 103, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #316708;
background: linear-gradient(135deg, #316708, #08671E);

Monochromatic scale

Palettes built from #316708

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #316708 in the Color Lab