Skip to content

#2d5500

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

RGB
45, 85, 0
HSL
88°, 100%, 17%
CMYK
47, 0, 100, 67
Luminance
0.0705

Every format

HEX#2d5500
RGBrgb(45, 85, 0)
HSLhsl(88, 100%, 17%)
CMYKcmyk(47%, 0%, 100%, 67%)
LABlab(31.9 -28.0 39.0)
LCHlch(31.9 48.0 125.7)
OKLCHoklch(0.404 0.115 133.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d5500 on white: 8.71:1
AA ✓ pass · AA-large · AAA
Aa
#2d5500 on black: 2.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green33.3%
Blue0.0%

CMYK percentages

Cyan47.1%
Magenta0.0%
Yellow100.0%
Key (black)66.7%

Color previews

#2d5500 text on a black background

contrast 2.41:1

Card sample

#2d5500 text on a white background

contrast 8.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 85, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 85, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d5500;
background: linear-gradient(135deg, #2d5500, #00550C);

Monochromatic scale

Palettes built from #2d5500

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d5500 in the Color Lab