Skip to content

#5d9921

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

RGB
93, 153, 33
HSL
90°, 65%, 37%
CMYK
39, 0, 78, 40
Luminance
0.2522

At a glance

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

Hex
#5d9921
Hue
90°
green
Saturation
65%
vivid
Lightness
37%
dark
Brightness
60%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2522
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
6.04:1
Closest name
Olive Drab
ΔE2000 4.8
Where it sits
Hue90° of 360°
Saturation65%
Lightness37%
Temperature
Warm ← → Cool50% 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#5d9921
RGBrgb(93, 153, 33)
HSLhsl(90, 65%, 37%)
CMYKcmyk(39%, 0%, 78%, 40%)
LABlab(57.3 -38.8 52.6)
LCHlch(57.3 65.4 126.4)
OKLCHoklch(0.619 0.160 133.1)
Decimal6134049
Display P3color(display-p3 0.365 0.600 0.129)

Copy-ready code

/* CSS */
color: #5d9921;
background-color: #5d9921;
/* Tailwind (arbitrary) */
class="text-[#5d9921] bg-[#5d9921]"
/* SCSS */
$brand: #5d9921;
/* SwiftUI */
Color(red: 0.365, green: 0.600, blue: 0.129)
/* Android */
Color.parseColor("#5d9921")
/* Flutter */
Color(0xFF5D9921)
/* Python / OpenCV (BGR) */
(33, 153, 93)

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

Accessibility — WCAG contrast

Aa
#5d9921 on white: 3.47:1
AA ✗ fail · AA-large · AAA
Aa
#5d9921 on black: 6.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9F8D01
deuteranopia · #97882E
tritanopia · #5D9383

Color scale — 50 to 950

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

#F7FBF4
#F0F7E8
#DEF1CB
#C7EBA3
#ABE175
#8FD746
#7AC92B
#5d9921
#52861D
#3D6219
#263D10
Base = 700Lightest = 50 · #F7FBF4Darkest = 950 · #263D10
:root {
  --brand-50: #F7FBF4;
  --brand-100: #F0F7E8;
  --brand-200: #DEF1CB;
  --brand-300: #C7EBA3;
  --brand-400: #ABE175;
  --brand-500: #8FD746;
  --brand-600: #7AC92B;
  --brand-700: #5d9921;
  --brand-800: #52861D;
  --brand-900: #3D6219;
  --brand-950: #263D10;
  --brand: #5d9921;
  --brand-ink: #000000;
}

Colors that work with #5d9921

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#F7FAF4
Tinted page background
Border#D6EDC0
Hairlines and dividers
Muted text#739B4B
Captions on the surface
Accent#3D1D9D
Second voice, not a rival
Dark variant#406917
Hover, pressed, headers
Light variant#F2FAEA
Selected rows, tints
Dark surface#1C2414
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 #5d9921

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#5D2199
Analogous left#999921
Analogous right#219921
Split-complement 1#212199
Split-complement 2#992199
Triadic 1#215D99
Triadic 2#99215D
Tetradic#219999

RGB percentages

Red36.5%
Green60.0%
Blue12.9%

CMYK percentages

Cyan39.2%
Magenta0.0%
Yellow78.4%
Key (black)40.0%

Color previews

#5d9921 text on a black background

contrast 6.04:1

Card sample

#5d9921 text on a white background

contrast 3.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5d9921

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.

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

#5d9921, answered

What color is #5d9921?

#5d9921 is a dark vivid green, closest to Olive Drab (ΔE2000 4.8). It sits at 90° on the hue wheel with 65% saturation and 37% lightness, which reads as neutral.

What is the RGB value of #5d9921?

rgb(93, 153, 33) — 93 red, 153 green and 33 blue out of 255, or 36.5% / 60% / 12.9% by channel.

Is #5d9921 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2522 and perceived brightness is 50%, so black text on it reaches 6.04:1.

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

Black. It scores 6.04:1 against #5d9921, versus 3.47:1 for white — AA at any size.

What is the complementary color of #5d9921?

#5D2199 sits directly opposite on the wheel. Softer options are the split-complements #212199 and #992199, which give the same contrast with far less vibration.

What colors go well with #5d9921?

For interface work: #F7FAF4 as the surface, #D6EDC0 for borders, #739B4B for secondary text, #3D1D9D as an accent and #406917 for hover and pressed states. For a palette, the analogous pair #999921 and #219921 stays calm, while #5D2199 is the loudest partner.

What is #5d9921 in CMYK for printing?

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

Is #5d9921 warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #899921; nudged cooler, #309B1F.

Work with #5d9921 in the Color Lab