Skip to content

#295708

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

RGB
41, 87, 8
HSL
95°, 83%, 19%
CMYK
53, 0, 91, 66
Luminance
0.0731

Every format

HEX#295708
RGBrgb(41, 87, 8)
HSLhsl(95, 83%, 19%)
CMYKcmyk(53%, 0%, 91%, 66%)
LABlab(32.5 -29.9 36.6)
LCHlch(32.5 47.3 129.3)
OKLCHoklch(0.408 0.116 136.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#295708 on white: 8.53:1
AA ✓ pass · AA-large · AAA
Aa
#295708 on black: 2.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.1%
Green34.1%
Blue3.1%

CMYK percentages

Cyan52.9%
Magenta0.0%
Yellow90.8%
Key (black)65.9%

Color previews

#295708 text on a black background

contrast 2.46:1

Card sample

#295708 text on a white background

contrast 8.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #295708

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #295708 in the Color Lab