Skip to content

#598021

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

RGB
89, 128, 33
HSL
85°, 59%, 32%
CMYK
31, 0, 74, 50
Luminance
0.1767

Every format

HEX#598021
RGBrgb(89, 128, 33)
HSLhsl(85, 59%, 32%)
CMYKcmyk(31%, 0%, 74%, 50%)
LABlab(49.1 -29.0 44.6)
LCHlch(49.1 53.2 123.0)
OKLCHoklch(0.551 0.130 129.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#598021 on white: 4.63:1
AA ✓ pass · AA-large · AAA
Aa
#598021 on black: 4.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red34.9%
Green50.2%
Blue12.9%

CMYK percentages

Cyan30.5%
Magenta0.0%
Yellow74.2%
Key (black)49.8%

Color previews

#598021 text on a black background

contrast 4.53:1

Card sample

#598021 text on a white background

contrast 4.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(89, 128, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(89, 128, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #598021;
background: linear-gradient(135deg, #598021, #218028);

Monochromatic scale

Palettes built from #598021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #598021 in the Color Lab