Skip to content

#297021

a dark, vivid green · cool · closest name: forestgreen

RGB
41, 112, 33
HSL
114°, 55%, 28%
CMYK
63, 0, 71, 56
Luminance
0.1217

Every format

HEX#297021
RGBrgb(41, 112, 33)
HSLhsl(114, 55%, 28%)
CMYKcmyk(63%, 0%, 71%, 56%)
LABlab(41.5 -38.4 36.0)
LCHlch(41.5 52.6 136.8)
OKLCHoklch(0.483 0.133 141.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#297021 on white: 6.12:1
AA ✓ pass · AA-large · AAA
Aa
#297021 on black: 3.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.1%
Green43.9%
Blue12.9%

CMYK percentages

Cyan63.4%
Magenta0.0%
Yellow70.5%
Key (black)56.1%

Color previews

#297021 text on a black background

contrast 3.43:1

Card sample

#297021 text on a white background

contrast 6.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(41, 112, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 112, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #297021;
background: linear-gradient(135deg, #297021, #21704E);

Monochromatic scale

Palettes built from #297021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #297021 in the Color Lab