Skip to content

#316607

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

RGB
49, 102, 7
HSL
94°, 87%, 21%
CMYK
52, 0, 93, 60
Luminance
0.1017

Every format

HEX#316607
RGBrgb(49, 102, 7)
HSLhsl(94, 87%, 21%)
CMYKcmyk(52%, 0%, 93%, 60%)
LABlab(38.1 -33.7 42.0)
LCHlch(38.1 53.8 128.7)
OKLCHoklch(0.456 0.131 135.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#316607 on white: 6.92:1
AA ✓ pass · AA-large · AAA
Aa
#316607 on black: 3.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red19.2%
Green40.0%
Blue2.7%

CMYK percentages

Cyan52.0%
Magenta0.0%
Yellow93.1%
Key (black)60.0%

Color previews

#316607 text on a black background

contrast 3.03:1

Card sample

#316607 text on a white background

contrast 6.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(49, 102, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 102, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #316607;
background: linear-gradient(135deg, #316607, #07661C);

Monochromatic scale

Palettes built from #316607

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #316607 in the Color Lab