Skip to content

#297213

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

RGB
41, 114, 19
HSL
106°, 71%, 26%
CMYK
64, 0, 83, 55
Luminance
0.1255

Every format

HEX#297213
RGBrgb(41, 114, 19)
HSLhsl(106, 71%, 26%)
CMYKcmyk(64%, 0%, 83%, 55%)
LABlab(42.1 -40.3 42.0)
LCHlch(42.1 58.2 133.8)
OKLCHoklch(0.487 0.145 139.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#297213 on white: 5.98:1
AA ✓ pass · AA-large · AAA
Aa
#297213 on black: 3.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.1%
Green44.7%
Blue7.5%

CMYK percentages

Cyan64.0%
Magenta0.0%
Yellow83.3%
Key (black)55.3%

Color previews

#297213 text on a black background

contrast 3.51:1

Card sample

#297213 text on a white background

contrast 5.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #297213

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #297213 in the Color Lab