Skip to content

#28792f

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

RGB
40, 121, 47
HSL
125°, 50%, 32%
CMYK
67, 0, 61, 53
Luminance
0.1433

Every format

HEX#28792f
RGBrgb(40, 121, 47)
HSLhsl(125, 50%, 32%)
CMYKcmyk(67%, 0%, 61%, 53%)
LABlab(44.7 -40.5 32.9)
LCHlch(44.7 52.2 140.9)
OKLCHoklch(0.510 0.134 144.7)

Copy-ready code

/* CSS */
color: #28792f;
background-color: #28792f;
/* Tailwind (arbitrary) */
class="text-[#28792f] bg-[#28792f]"
/* SCSS */
$brand: #28792f;
/* SwiftUI */
Color(red: 0.157, green: 0.475, blue: 0.184)
/* Android */
Color.parseColor("#28792f")

Accessibility — WCAG contrast

Aa
#28792f on white: 5.43:1
AA ✓ pass · AA-large · AAA
Aa
#28792f on black: 3.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.7%
Green47.5%
Blue18.4%

CMYK percentages

Cyan66.9%
Magenta0.0%
Yellow61.2%
Key (black)52.5%

Color previews

#28792f text on a black background

contrast 3.87:1

Card sample

#28792f text on a white background

contrast 5.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(40, 121, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 121, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #28792f;
background: linear-gradient(135deg, #28792f, #287965);

Monochromatic scale

Palettes built from #28792f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #28792f in the Color Lab