Skip to content

#308800

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

RGB
48, 136, 0
HSL
99°, 100%, 27%
CMYK
65, 0, 100, 47
Luminance
0.1824

Every format

HEX#308800
RGBrgb(48, 136, 0)
HSLhsl(99, 100%, 27%)
CMYKcmyk(65%, 0%, 100%, 47%)
LABlab(49.8 -47.3 53.1)
LCHlch(49.8 71.1 131.7)
OKLCHoklch(0.552 0.173 138.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#308800 on white: 4.52:1
AA ✓ pass · AA-large · AAA
Aa
#308800 on black: 4.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.8%
Green53.3%
Blue0.0%

CMYK percentages

Cyan64.7%
Magenta0.0%
Yellow100.0%
Key (black)46.7%

Color previews

#308800 text on a black background

contrast 4.65:1

Card sample

#308800 text on a white background

contrast 4.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(48, 136, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 136, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #308800;
background: linear-gradient(135deg, #308800, #00882B);

Monochromatic scale

Palettes built from #308800

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #308800 in the Color Lab