Skip to content

#164a21

a deep, vivid green · cool · closest name: Dark Green

RGB
22, 74, 33
HSL
133°, 54%, 19%
CMYK
70, 0, 55, 71
Luminance
0.0518

At a glance

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

Hex
#164a21
Hue
133°
green
Saturation
54%
vivid
Lightness
19%
deep
Brightness
29%
HSV value
Perceived
23%
weighted brightness
Luminance
0.0518
WCAG relative
Temperature
Cool
68/100 cool
Color family
Green
Tone
Vivid
Best ink
White
10.32:1
Closest name
Dark Green
ΔE2000 11.6
Where it sits
Hue133° of 360°
Saturation54%
Lightness19%
Temperature
Warm ← → Cool68% cool

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

Every format

HEX#164a21
RGBrgb(22, 74, 33)
HSLhsl(133, 54%, 19%)
CMYKcmyk(70%, 0%, 55%, 71%)
LABlab(27.2 -27.4 19.4)
LCHlch(27.2 33.6 144.6)
OKLCHoklch(0.363 0.088 147.5)
Decimal1460769
Display P3color(display-p3 0.086 0.290 0.129)

Copy-ready code

/* CSS */
color: #164a21;
background-color: #164a21;
/* Tailwind (arbitrary) */
class="text-[#164a21] bg-[#164a21]"
/* SCSS */
$brand: #164a21;
/* SwiftUI */
Color(red: 0.086, green: 0.290, blue: 0.129)
/* Android */
Color.parseColor("#164a21")
/* Flutter */
Color(0xFF164A21)
/* Python / OpenCV (BGR) */
(33, 74, 22)

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 #164a21 · 10.32:1
Use #ffffffAAA at every size.
Aa
White text · 10.32:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.04:1
AA fail · AA large fail · AAA fail
Reading the other direction: #164a21 as text scores 10.32:1 on white and 2.04:1 on black.

Accessibility — WCAG contrast

Aa
#164a21 on white: 10.32:1
AA ✓ pass · AA-large · AAA
Aa
#164a21 on black: 2.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4B431E
deuteranopia · #443F24
tritanopia · #074840

Color scale — 50 to 950

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

#F4FBF5
#E9F6EC
#CEEED5
#A8E5B5
#7DD891
#52CC6C
#38BD54
#2F9D46
#257E38
#1F5C2C
#164a21
Base = 950Lightest = 50 · #F4FBF5Darkest = 950 · #164a21
:root {
  --brand-50: #F4FBF5;
  --brand-100: #E9F6EC;
  --brand-200: #CEEED5;
  --brand-300: #A8E5B5;
  --brand-400: #7DD891;
  --brand-500: #52CC6C;
  --brand-600: #38BD54;
  --brand-700: #2F9D46;
  --brand-800: #257E38;
  --brand-900: #1F5C2C;
  --brand-950: #164a21;
  --brand: #164a21;
  --brand-ink: #ffffff;
}

Colors that work with #164a21

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#F4FAF6
Tinted page background
Border#C0ECC9
Hairlines and dividers
Muted text#4B9B5C
Captions on the surface
Accent#4A144C
Second voice, not a rival
Dark variant#1D622C
Hover, pressed, headers
Light variant#EBF9EE
Selected rows, tints
Dark surface#142417
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 #164a21

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
  • Text on black or near-black surfaces
  • 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#4A163F
Analogous left#254A16
Analogous right#164A3B
Split-complement 1#3B164A
Split-complement 2#4A1625
Triadic 1#21164A
Triadic 2#4A2116
Tetradic#16254A

RGB percentages

Red8.6%
Green29.0%
Blue12.9%

CMYK percentages

Cyan70.3%
Magenta0.0%
Yellow55.4%
Key (black)71.0%

Color previews

#164a21 text on a black background

contrast 2.04:1

Card sample

#164a21 text on a white background

contrast 10.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(22, 74, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 74, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #164a21;
background: linear-gradient(135deg, #164a21, #164A44);

Monochromatic scale

Palettes built from #164a21

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.

#164a21 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.

#164a21, answered

What color is #164a21?

#164a21 is a deep vivid green, closest to Dark Green (ΔE2000 11.6). It sits at 133° on the hue wheel with 54% saturation and 19% lightness, which reads as cool.

What is the RGB value of #164a21?

rgb(22, 74, 33) — 22 red, 74 green and 33 blue out of 255, or 8.6% / 29% / 12.9% by channel.

Is #164a21 a light or a dark color?

It is a dark color. Relative luminance is 0.0518 and perceived brightness is 23%, so white text on it reaches 10.32:1.

Should I use black or white text on #164a21?

White. It scores 10.32:1 against #164a21, versus 2.04:1 for black — AAA at any size.

What is the complementary color of #164a21?

#4A163F sits directly opposite on the wheel. Softer options are the split-complements #3B164A and #4A1625, which give the same contrast with far less vibration.

What colors go well with #164a21?

For interface work: #F4FAF6 as the surface, #C0ECC9 for borders, #4B9B5C for secondary text, #4A144C as an accent and #1D622C for hover and pressed states. For a palette, the analogous pair #254A16 and #164A3B stays calm, while #4A163F is the loudest partner.

What is #164a21 in CMYK for printing?

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

Is #164a21 warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1E4A16; nudged cooler, #154B34.

Work with #164a21 in the Color Lab