#516021
a dark, vivid green · warm · closest name: Dark Olive Green
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.
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 |
| RGB | rgb(81, 96, 33) |
| HSL | hsl(74, 49%, 25%) |
| CMYK | cmyk(16%, 0%, 66%, 62%) |
| LAB | lab(38.2 -16.1 33.1) |
| LCH | lch(38.2 36.8 115.8) |
| OKLCH | oklch(0.462 0.089 121.3) |
| Decimal | 5333025 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #516021
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | Directly opposite — maximum tension | |
| Analogous left | #605021 | Neighbour, quieter | |
| Analogous right | #326021 | Neighbour, quieter | |
| Split-complement 1 | #213260 | Contrast without the clash | |
| Split-complement 2 | #502160 | Contrast without the clash | |
| Triadic 1 | #215160 | Even thirds — balanced and loud | |
| Triadic 2 | #602151 | Even thirds — balanced and loud | |
| Tetradic | #216050 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#516021 text on a black background
contrast 3.04:1
#516021 text on a white background
contrast 6.90:1
CSS3 live lab
The quick brown fox
color: #516021;
background-color: #516021;
Glowing headline
text-shadow: 2px 2px 8px #516021;
Soft neon halo
text-shadow: 0 0 14px rgba(81, 96, 33, 0.45);
box-shadow: 0 12px 32px -8px rgba(81, 96, 33, 0.45);
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.
Closest color with a full write-up: Fern Green (#4f7942) — ΔE2000 10.7 away, with its history, psychology and brand usage.
#516021 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
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.