Skip to content

#54792c

a dark, vivid green · neutral · closest name: Dark Olive Green

RGB
84, 121, 44
HSL
89°, 47%, 32%
CMYK
31, 0, 64, 53
Luminance
0.1574

At a glance

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

Hex
#54792c
Hue
89°
green
Saturation
47%
vivid
Lightness
32%
dark
Brightness
47%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1574
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Green
Tone
Vivid
Best ink
White
5.06:1
Closest name
Dark Olive Green
ΔE2000 5.7
Where it sits
Hue89° of 360°
Saturation47%
Lightness32%
Temperature
Warm ← → Cool49% 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#54792c
RGBrgb(84, 121, 44)
HSLhsl(89, 47%, 32%)
CMYKcmyk(31%, 0%, 64%, 53%)
LABlab(46.6 -26.7 37.1)
LCHlch(46.6 45.7 125.7)
OKLCHoklch(0.531 0.114 131.0)
Decimal5536044
Display P3color(display-p3 0.329 0.475 0.173)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#54792c on white: 5.06:1
AA ✓ pass · AA-large · AAA
Aa
#54792c on black: 4.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7E7023
deuteranopia · #796E32
tritanopia · #567469

Color scale — 50 to 950

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

#F7FAF5
#F0F5EA
#DEEBD0
#C8E1AD
#ACD284
#91C35A
#7DB441
#689636
#54792c
#3E5723
#273716
Base = 800Lightest = 50 · #F7FAF5Darkest = 950 · #273716
:root {
  --brand-50: #F7FAF5;
  --brand-100: #F0F5EA;
  --brand-200: #DEEBD0;
  --brand-300: #C8E1AD;
  --brand-400: #ACD284;
  --brand-500: #91C35A;
  --brand-600: #7DB441;
  --brand-700: #689636;
  --brand-800: #54792c;
  --brand-900: #3E5723;
  --brand-950: #273716;
  --brand: #54792c;
  --brand-ink: #ffffff;
}

Colors that work with #54792c

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#F7FAF4
Tinted page background
Border#D7E9C3
Hairlines and dividers
Muted text#749B4B
Captions on the surface
Accent#3C297D
Second voice, not a rival
Dark variant#415E22
Hover, pressed, headers
Light variant#F2F8EC
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 #54792c

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#512C79
Analogous left#79782C
Analogous right#2E792C
Split-complement 1#2C2E79
Split-complement 2#782C79
Triadic 1#2C5479
Triadic 2#792C54
Tetradic#2C7978

RGB percentages

Red32.9%
Green47.5%
Blue17.3%

CMYK percentages

Cyan30.6%
Magenta0.0%
Yellow63.6%
Key (black)52.5%

Color previews

#54792c text on a black background

contrast 4.15:1

Card sample

#54792c text on a white background

contrast 5.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(84, 121, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 121, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #54792c;
background: linear-gradient(135deg, #54792c, #2C7937);

Monochromatic scale

Palettes built from #54792c

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.

#54792c 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.

#54792c, answered

What color is #54792c?

#54792c is a dark vivid green, closest to Dark Olive Green (ΔE2000 5.7). It sits at 89° on the hue wheel with 47% saturation and 32% lightness, which reads as neutral.

What is the RGB value of #54792c?

rgb(84, 121, 44) — 84 red, 121 green and 44 blue out of 255, or 32.9% / 47.5% / 17.3% by channel.

Is #54792c a light or a dark color?

It is a dark color. Relative luminance is 0.1574 and perceived brightness is 41%, so white text on it reaches 5.06:1.

Should I use black or white text on #54792c?

White. It scores 5.06:1 against #54792c, versus 4.15:1 for black — AA at any size.

What is the complementary color of #54792c?

#512C79 sits directly opposite on the wheel. Softer options are the split-complements #2C2E79 and #782C79, which give the same contrast with far less vibration.

What colors go well with #54792c?

For interface work: #F7FAF4 as the surface, #D7E9C3 for borders, #749B4B for secondary text, #3C297D as an accent and #415E22 for hover and pressed states. For a palette, the analogous pair #79782C and #2E792C stays calm, while #512C79 is the loudest partner.

What is #54792c in CMYK for printing?

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

Is #54792c warm or cool?

Neutral — it scores 49 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #70792C; nudged cooler, #377B2A.

Work with #54792c in the Color Lab