Skip to content

#5e6e21

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

RGB
94, 110, 33
HSL
73°, 54%, 28%
CMYK
15, 0, 70, 57
Luminance
0.1364

At a glance

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

Hex
#5e6e21
Hue
73°
green
Saturation
54%
vivid
Lightness
28%
dark
Brightness
43%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1364
WCAG relative
Temperature
Warm
35/100 cool
Color family
Green
Tone
Vivid
Best ink
White
5.63:1
Closest name
Dark Olive Green
ΔE2000 4.2
Where it sits
Hue73° of 360°
Saturation54%
Lightness28%
Temperature
Warm ← → Cool35% cool

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

Every format

HEX#5e6e21
RGBrgb(94, 110, 33)
HSLhsl(73, 54%, 28%)
CMYKcmyk(15%, 0%, 70%, 57%)
LABlab(43.7 -17.7 39.2)
LCHlch(43.7 43.1 114.3)
OKLCHoklch(0.509 0.103 120.3)
Decimal6188577
Display P3color(display-p3 0.369 0.431 0.129)

Copy-ready code

/* CSS */
color: #5e6e21;
background-color: #5e6e21;
/* Tailwind (arbitrary) */
class="text-[#5e6e21] bg-[#5e6e21]"
/* SCSS */
$brand: #5e6e21;
/* SwiftUI */
Color(red: 0.369, green: 0.431, blue: 0.129)
/* Android */
Color.parseColor("#5e6e21")
/* Flutter */
Color(0xFF5E6E21)
/* Python / OpenCV (BGR) */
(33, 110, 94)

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

Accessibility — WCAG contrast

Aa
#5e6e21 on white: 5.63:1
AA ✓ pass · AA-large · AAA
Aa
#5e6e21 on black: 3.73:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #756716
deuteranopia · #736727
tritanopia · #63685E

Color scale — 50 to 950

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

#F9FBF4
#F3F6E9
#E7EECE
#D9E5A9
#C5D87E
#B2CB52
#A1BC39
#869D2F
#5e6e21
#4F5B1F
#313913
Base = 800Lightest = 50 · #F9FBF4Darkest = 950 · #313913
:root {
  --brand-50: #F9FBF4;
  --brand-100: #F3F6E9;
  --brand-200: #E7EECE;
  --brand-300: #D9E5A9;
  --brand-400: #C5D87E;
  --brand-500: #B2CB52;
  --brand-600: #A1BC39;
  --brand-700: #869D2F;
  --brand-800: #5e6e21;
  --brand-900: #4F5B1F;
  --brand-950: #313913;
  --brand: #5e6e21;
  --brand-ink: #ffffff;
}

Colors that work with #5e6e21

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#F9FAF4
Tinted page background
Border#E3ECC0
Hairlines and dividers
Muted text#8A9B4B
Captions on the surface
Accent#1E2271
Second voice, not a rival
Dark variant#54621D
Hover, pressed, headers
Light variant#F6F9EB
Selected rows, tints
Dark surface#212414
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 #5e6e21

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#31216E
Analogous left#6E5721
Analogous right#376E21
Split-complement 1#21376E
Split-complement 2#57216E
Triadic 1#215E6E
Triadic 2#6E215E
Tetradic#216E57

RGB percentages

Red36.9%
Green43.1%
Blue12.9%

CMYK percentages

Cyan14.5%
Magenta0.0%
Yellow70.0%
Key (black)56.9%

Color previews

#5e6e21 text on a black background

contrast 3.73:1

Card sample

#5e6e21 text on a white background

contrast 5.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(94, 110, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(94, 110, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5e6e21;
background: linear-gradient(135deg, #5e6e21, #2B6E21);

Monochromatic scale

Palettes built from #5e6e21

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.

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

#5e6e21, answered

What color is #5e6e21?

#5e6e21 is a dark vivid green, closest to Dark Olive Green (ΔE2000 4.2). It sits at 73° on the hue wheel with 54% saturation and 28% lightness, which reads as warm.

What is the RGB value of #5e6e21?

rgb(94, 110, 33) — 94 red, 110 green and 33 blue out of 255, or 36.9% / 43.1% / 12.9% by channel.

Is #5e6e21 a light or a dark color?

It is a dark color. Relative luminance is 0.1364 and perceived brightness is 39%, so white text on it reaches 5.63:1.

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

White. It scores 5.63:1 against #5e6e21, versus 3.73:1 for black — AA at any size.

What is the complementary color of #5e6e21?

#31216E sits directly opposite on the wheel. Softer options are the split-complements #21376E and #57216E, which give the same contrast with far less vibration.

What colors go well with #5e6e21?

For interface work: #F9FAF4 as the surface, #E3ECC0 for borders, #8A9B4B for secondary text, #1E2271 as an accent and #54621D for hover and pressed states. For a palette, the analogous pair #6E5721 and #376E21 stays calm, while #31216E is the loudest partner.

What is #5e6e21 in CMYK for printing?

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

Is #5e6e21 warm or cool?

Warm — it scores 35 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6E6221; nudged cooler, #416F20.

Work with #5e6e21 in the Color Lab