Skip to content

#5c8521

a dark, vivid green · neutral · closest name: Olive Drab

RGB
92, 133, 33
HSL
85°, 60%, 33%
CMYK
31, 0, 75, 48
Luminance
0.1916

At a glance

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

Hex
#5c8521
Hue
85°
green
Saturation
60%
vivid
Lightness
33%
dark
Brightness
52%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1916
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
4.83:1
Closest name
Olive Drab
ΔE2000 4.1
Where it sits
Hue85° of 360°
Saturation60%
Lightness33%
Temperature
Warm ← → Cool46% cool

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

Every format

HEX#5c8521
RGBrgb(92, 133, 33)
HSLhsl(85, 60%, 33%)
CMYKcmyk(31%, 0%, 75%, 48%)
LABlab(50.9 -30.1 46.4)
LCHlch(50.9 55.3 123.0)
OKLCHoklch(0.566 0.135 129.6)
Decimal6063393
Display P3color(display-p3 0.361 0.522 0.129)

Copy-ready code

/* CSS */
color: #5c8521;
background-color: #5c8521;
/* Tailwind (arbitrary) */
class="text-[#5c8521] bg-[#5c8521]"
/* SCSS */
$brand: #5c8521;
/* SwiftUI */
Color(red: 0.361, green: 0.522, blue: 0.129)
/* Android */
Color.parseColor("#5c8521")
/* Flutter */
Color(0xFF5C8521)
/* Python / OpenCV (BGR) */
(33, 133, 92)

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#000000 on #5c8521 · 4.83:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.35:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.83:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #5c8521 as text scores 4.35:1 on white and 4.83:1 on black.

Accessibility — WCAG contrast

Aa
#5c8521 on white: 4.35:1
AA ✗ fail · AA-large · AAA
Aa
#5c8521 on black: 4.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8B7B0E
deuteranopia · #86782A
tritanopia · #5F7F72

Color scale — 50 to 950

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

#F8FBF4
#F1F7E9
#E1EFCC
#CDE9A5
#B4DE78
#9BD24B
#88C431
#71A329
#5c8521
#435F1B
#2A3B11
Base = 800Lightest = 50 · #F8FBF4Darkest = 950 · #2A3B11
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F1F7E9;
  --brand-200: #E1EFCC;
  --brand-300: #CDE9A5;
  --brand-400: #B4DE78;
  --brand-500: #9BD24B;
  --brand-600: #88C431;
  --brand-700: #71A329;
  --brand-800: #5c8521;
  --brand-900: #435F1B;
  --brand-950: #2A3B11;
  --brand: #5c8521;
  --brand-ink: #000000;
}

Colors that work with #5c8521

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

Text on it#000000
Black wins here
Surface#F8FAF4
Tinted page background
Border#DAEDC0
Hairlines and dividers
Muted text#7A9B4B
Captions on the surface
Accent#2F1E88
Second voice, not a rival
Dark variant#476619
Hover, pressed, headers
Light variant#F4FAEB
Selected rows, tints
Dark surface#1E2414
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 #5c8521

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • 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
  • Small text on white — under 4.5:1
  • 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#4A2185
Analogous left#857C21
Analogous right#2A8521
Split-complement 1#212A85
Split-complement 2#7C2185
Triadic 1#215C85
Triadic 2#85215C
Tetradic#21857C

RGB percentages

Red36.1%
Green52.2%
Blue12.9%

CMYK percentages

Cyan30.8%
Magenta0.0%
Yellow75.2%
Key (black)47.8%

Color previews

#5c8521 text on a black background

contrast 4.83:1

Card sample

#5c8521 text on a white background

contrast 4.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(92, 133, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(92, 133, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5c8521;
background: linear-gradient(135deg, #5c8521, #218529);

Monochromatic scale

Palettes built from #5c8521

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.

#5c8521 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.

#5c8521, answered

What color is #5c8521?

#5c8521 is a dark vivid green, closest to Olive Drab (ΔE2000 4.1). It sits at 85° on the hue wheel with 60% saturation and 33% lightness, which reads as neutral.

What is the RGB value of #5c8521?

rgb(92, 133, 33) — 92 red, 133 green and 33 blue out of 255, or 36.1% / 52.2% / 12.9% by channel.

Is #5c8521 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1916 and perceived brightness is 45%, so black text on it reaches 4.83:1.

Should I use black or white text on #5c8521?

Black. It scores 4.83:1 against #5c8521, versus 4.35:1 for white — AA at any size.

What is the complementary color of #5c8521?

#4A2185 sits directly opposite on the wheel. Softer options are the split-complements #212A85 and #7C2185, which give the same contrast with far less vibration.

What colors go well with #5c8521?

For interface work: #F8FAF4 as the surface, #DAEDC0 for borders, #7A9B4B for secondary text, #2F1E88 as an accent and #476619 for hover and pressed states. For a palette, the analogous pair #857C21 and #2A8521 stays calm, while #4A2185 is the loudest partner.

What is #5c8521 in CMYK for printing?

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

Is #5c8521 warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #808521; nudged cooler, #36861F.

Work with #5c8521 in the Color Lab