Skip to content

#548021

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

RGB
84, 128, 33
HSL
88°, 59%, 32%
CMYK
34, 0, 74, 50
Luminance
0.1743

At a glance

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

Hex
#548021
Hue
88°
green
Saturation
59%
vivid
Lightness
32%
dark
Brightness
50%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1743
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Green
Tone
Vivid
Best ink
White
4.68:1
Closest name
Olive Drab
ΔE2000 6.5
Where it sits
Hue88° of 360°
Saturation59%
Lightness32%
Temperature
Warm ← → Cool48% 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#548021
RGBrgb(84, 128, 33)
HSLhsl(88, 59%, 32%)
CMYKcmyk(34%, 0%, 74%, 50%)
LABlab(48.8 -30.9 44.2)
LCHlch(48.8 54.0 125.0)
OKLCHoklch(0.548 0.132 131.4)
Decimal5537825
Display P3color(display-p3 0.329 0.502 0.129)

Copy-ready code

/* CSS */
color: #548021;
background-color: #548021;
/* Tailwind (arbitrary) */
class="text-[#548021] bg-[#548021]"
/* SCSS */
$brand: #548021;
/* SwiftUI */
Color(red: 0.329, green: 0.502, blue: 0.129)
/* Android */
Color.parseColor("#548021")
/* Flutter */
Color(0xFF548021)
/* Python / OpenCV (BGR) */
(33, 128, 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#ffffff on #548021 · 4.68:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.68:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.49:1
AA fail · AA large pass · AAA fail
Reading the other direction: #548021 as text scores 4.68:1 on white and 4.49:1 on black.

Accessibility — WCAG contrast

Aa
#548021 on white: 4.68:1
AA ✓ pass · AA-large · AAA
Aa
#548021 on black: 4.49:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #867610
deuteranopia · #80732A
tritanopia · #567A6D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #548021 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
#F0F7E9
#DFEFCD
#C9E8A6
#AEDC79
#94D14D
#80C332
#6AA22A
#548021
#405E1C
#283B11
Base = 800Lightest = 50 · #F8FBF4Darkest = 950 · #283B11
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F0F7E9;
  --brand-200: #DFEFCD;
  --brand-300: #C9E8A6;
  --brand-400: #AEDC79;
  --brand-500: #94D14D;
  --brand-600: #80C332;
  --brand-700: #6AA22A;
  --brand-800: #548021;
  --brand-900: #405E1C;
  --brand-950: #283B11;
  --brand: #548021;
  --brand-ink: #ffffff;
}

Colors that work with #548021

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#F8FAF4
Tinted page background
Border#D8EDC0
Hairlines and dividers
Muted text#769B4B
Captions on the surface
Accent#331E83
Second voice, not a rival
Dark variant#43651A
Hover, pressed, headers
Light variant#F3FAEB
Selected rows, tints
Dark surface#1D2414
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 #548021

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#4D2180
Analogous left#807D21
Analogous right#258021
Split-complement 1#212580
Split-complement 2#7D2180
Triadic 1#215480
Triadic 2#802154
Tetradic#21807D

RGB percentages

Red32.9%
Green50.2%
Blue12.9%

CMYK percentages

Cyan34.4%
Magenta0.0%
Yellow74.2%
Key (black)49.8%

Color previews

#548021 text on a black background

contrast 4.49:1

Card sample

#548021 text on a white background

contrast 4.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(84, 128, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 128, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #548021;
background: linear-gradient(135deg, #548021, #21802D);

Monochromatic scale

Palettes built from #548021

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.

#548021 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.

#548021, answered

What color is #548021?

#548021 is a dark vivid green, closest to Olive Drab (ΔE2000 6.5). It sits at 88° on the hue wheel with 59% saturation and 32% lightness, which reads as neutral.

What is the RGB value of #548021?

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

Is #548021 a light or a dark color?

It is a dark color. Relative luminance is 0.1743 and perceived brightness is 43%, so white text on it reaches 4.68:1.

Should I use black or white text on #548021?

White. It scores 4.68:1 against #548021, versus 4.49:1 for black — AA at any size.

What is the complementary color of #548021?

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

What colors go well with #548021?

For interface work: #F8FAF4 as the surface, #D8EDC0 for borders, #769B4B for secondary text, #331E83 as an accent and #43651A for hover and pressed states. For a palette, the analogous pair #807D21 and #258021 stays calm, while #4D2180 is the loudest partner.

What is #548021 in CMYK for printing?

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

Is #548021 warm or cool?

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

Work with #548021 in the Color Lab