Skip to content

#516021

a dark, vivid green · warm · closest name: Dark Olive Green

RGB
81, 96, 33
HSL
74°, 49%, 25%
CMYK
16, 0, 66, 62
Luminance
0.1022

At a glance

Every number on this page in one read: what #516021 is made of, how bright it looks, and which way it leans.

Hex
#516021
Hue
74°
green
Saturation
49%
vivid
Lightness
25%
dark
Brightness
38%
HSV value
Perceived
34%
weighted brightness
Luminance
0.1022
WCAG relative
Temperature
Warm
37/100 cool
Color family
Green
Tone
Vivid
Best ink
White
6.90:1
Closest name
Dark Olive Green
ΔE2000 4.2
Where it sits
Hue74° of 360°
Saturation49%
Lightness25%
Temperature
Warm ← → Cool37% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#516021
RGBrgb(81, 96, 33)
HSLhsl(74, 49%, 25%)
CMYKcmyk(16%, 0%, 66%, 62%)
LABlab(38.2 -16.1 33.1)
LCHlch(38.2 36.8 115.8)
OKLCHoklch(0.462 0.089 121.3)
Decimal5333025
Display P3color(display-p3 0.318 0.376 0.129)

Copy-ready code

/* CSS */
color: #516021;
background-color: #516021;
/* Tailwind (arbitrary) */
class="text-[#516021] bg-[#516021]"
/* SCSS */
$brand: #516021;
/* SwiftUI */
Color(red: 0.318, green: 0.376, blue: 0.129)
/* Android */
Color.parseColor("#516021")
/* Flutter */
Color(0xFF516021)
/* Python / OpenCV (BGR) */
(33, 96, 81)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #516021 · 6.90:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.90:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.04:1
AA fail · AA large pass · AAA fail
Reading the other direction: #516021 as text scores 6.90:1 on white and 3.04:1 on black.

Accessibility — WCAG contrast

Aa
#516021 on white: 6.90:1
AA ✓ pass · AA-large · AAA
Aa
#516021 on black: 3.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #665A1A
deuteranopia · #645A25
tritanopia · #555B53

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #516021 is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9FAF4
#F3F6EA
#E5ECD0
#D5E2AC
#C0D482
#ABC658
#9AB63F
#809834
#66792A
#516021
#2F3715
Base = 900Lightest = 50 · #F9FAF4Darkest = 950 · #2F3715
:root {
  --brand-50: #F9FAF4;
  --brand-100: #F3F6EA;
  --brand-200: #E5ECD0;
  --brand-300: #D5E2AC;
  --brand-400: #C0D482;
  --brand-500: #ABC658;
  --brand-600: #9AB63F;
  --brand-700: #809834;
  --brand-800: #66792A;
  --brand-900: #516021;
  --brand-950: #2F3715;
  --brand: #516021;
  --brand-ink: #ffffff;
}

Colors that work with #516021

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F9FAF4
Tinted page background
Border#E1EAC2
Hairlines and dividers
Muted text#889B4B
Captions on the surface
Accent#1E1F63
Second voice, not a rival
Dark variant#505F21
Hover, pressed, headers
Light variant#F6F8EC
Selected rows, tints
Dark surface#202414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #516021

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#302160
Analogous left#605021
Analogous right#326021
Split-complement 1#213260
Split-complement 2#502160
Triadic 1#215160
Triadic 2#602151
Tetradic#216050

RGB percentages

Red31.8%
Green37.6%
Blue12.9%

CMYK percentages

Cyan15.6%
Magenta0.0%
Yellow65.6%
Key (black)62.4%

Color previews

#516021 text on a black background

contrast 3.04:1

Card sample

#516021 text on a white background

contrast 6.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #516021

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#516021 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#516021, answered

What color is #516021?

#516021 is a dark vivid green, closest to Dark Olive Green (ΔE2000 4.2). It sits at 74° on the hue wheel with 49% saturation and 25% lightness, which reads as warm.

What is the RGB value of #516021?

rgb(81, 96, 33) — 81 red, 96 green and 33 blue out of 255, or 31.8% / 37.6% / 12.9% by channel.

Is #516021 a light or a dark color?

It is a dark color. Relative luminance is 0.1022 and perceived brightness is 34%, so white text on it reaches 6.90:1.

Should I use black or white text on #516021?

White. It scores 6.90:1 against #516021, versus 3.04:1 for black — AA at any size.

What is the complementary color of #516021?

#302160 sits directly opposite on the wheel. Softer options are the split-complements #213260 and #502160, which give the same contrast with far less vibration.

What colors go well with #516021?

For interface work: #F9FAF4 as the surface, #E1EAC2 for borders, #889B4B for secondary text, #1E1F63 as an accent and #505F21 for hover and pressed states. For a palette, the analogous pair #605021 and #326021 stays calm, while #302160 is the loudest partner.

What is #516021 in CMYK for printing?

cmyk(16%, 0%, 66%, 62%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #516021 warm or cool?

Warm — it scores 37 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #605821; nudged cooler, #3A6120.

Work with #516021 in the Color Lab