Skip to content

#54a821

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

RGB
84, 168, 33
HSL
97°, 67%, 39%
CMYK
50, 0, 80, 34
Luminance
0.3000

At a glance

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

Hex
#54a821
Hue
97°
green
Saturation
67%
vivid
Lightness
39%
dark
Brightness
66%
HSV value
Perceived
54%
weighted brightness
Luminance
0.3000
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
7.00:1
Closest name
Olive Drab
ΔE2000 9.5
Where it sits
Hue97° of 360°
Saturation67%
Lightness39%
Temperature
Warm ← → Cool53% 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#54a821
RGBrgb(84, 168, 33)
HSLhsl(97, 67%, 39%)
CMYKcmyk(50%, 0%, 80%, 34%)
LABlab(61.6 -47.9 56.6)
LCHlch(61.6 74.2 130.3)
OKLCHoklch(0.653 0.183 136.8)
Decimal5548065
Display P3color(display-p3 0.329 0.659 0.129)

Copy-ready code

/* CSS */
color: #54a821;
background-color: #54a821;
/* Tailwind (arbitrary) */
class="text-[#54a821] bg-[#54a821]"
/* SCSS */
$brand: #54a821;
/* SwiftUI */
Color(red: 0.329, green: 0.659, blue: 0.129)
/* Android */
Color.parseColor("#54a821")
/* Flutter */
Color(0xFF54A821)
/* Python / OpenCV (BGR) */
(33, 168, 84)

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 #54a821 · 7.00:1
Use #000000AAA at every size.
Aa
White text · 3.00:1
AA fail · AA large pass · AAA fail
Aa
Black text · 7.00:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #54a821 as text scores 3.00:1 on white and 7.00:1 on black.

Accessibility — WCAG contrast

Aa
#54a821 on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#54a821 on black: 7.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AE9900
deuteranopia · #A39231
tritanopia · #4FA28F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #54a821 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.

#F6FBF3
#EEF8E8
#D9F1CA
#BEEDA1
#9DE372
#7CDA43
#66CD28
#54a821
#44881B
#346317
#203E0F
Base = 700Lightest = 50 · #F6FBF3Darkest = 950 · #203E0F
:root {
  --brand-50: #F6FBF3;
  --brand-100: #EEF8E8;
  --brand-200: #D9F1CA;
  --brand-300: #BEEDA1;
  --brand-400: #9DE372;
  --brand-500: #7CDA43;
  --brand-600: #66CD28;
  --brand-700: #54a821;
  --brand-800: #44881B;
  --brand-900: #346317;
  --brand-950: #203E0F;
  --brand: #54a821;
  --brand-ink: #000000;
}

Colors that work with #54a821

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#D1EDC0
Hairlines and dividers
Muted text#699B4B
Captions on the surface
Accent#521DAC
Second voice, not a rival
Dark variant#356B15
Hover, pressed, headers
Light variant#F0FBEA
Selected rows, tints
Dark surface#1A2414
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 #54a821

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#7521A8
Analogous left#98A821
Analogous right#21A831
Split-complement 1#3121A8
Split-complement 2#A82198
Triadic 1#2154A8
Triadic 2#A82154
Tetradic#2198A8

RGB percentages

Red32.9%
Green65.9%
Blue12.9%

CMYK percentages

Cyan50.0%
Magenta0.0%
Yellow80.4%
Key (black)34.1%

Color previews

#54a821 text on a black background

contrast 7.00:1

Card sample

#54a821 text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(84, 168, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 168, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #54a821;
background: linear-gradient(135deg, #54a821, #21A848);

Monochromatic scale

Palettes built from #54a821

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.

#54a821 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.

#54a821, answered

What color is #54a821?

#54a821 is a dark vivid green, closest to Olive Drab (ΔE2000 9.5). It sits at 97° on the hue wheel with 67% saturation and 39% lightness, which reads as neutral.

What is the RGB value of #54a821?

rgb(84, 168, 33) — 84 red, 168 green and 33 blue out of 255, or 32.9% / 65.9% / 12.9% by channel.

Is #54a821 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3000 and perceived brightness is 54%, so black text on it reaches 7.00:1.

Should I use black or white text on #54a821?

Black. It scores 7.00:1 against #54a821, versus 3.00:1 for white — AAA at any size.

What is the complementary color of #54a821?

#7521A8 sits directly opposite on the wheel. Softer options are the split-complements #3121A8 and #A82198, which give the same contrast with far less vibration.

What colors go well with #54a821?

For interface work: #F7FAF4 as the surface, #D1EDC0 for borders, #699B4B for secondary text, #521DAC as an accent and #356B15 for hover and pressed states. For a palette, the analogous pair #98A821 and #21A831 stays calm, while #7521A8 is the loudest partner.

What is #54a821 in CMYK for printing?

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

Is #54a821 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #86A821; nudged cooler, #21AA1F.

Work with #54a821 in the Color Lab