Skip to content

#186d21

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

RGB
24, 109, 33
HSL
126°, 64%, 26%
CMYK
78, 0, 70, 57
Luminance
0.1124

At a glance

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

Hex
#186d21
Hue
126°
green
Saturation
64%
vivid
Lightness
26%
dark
Brightness
43%
HSV value
Perceived
33%
weighted brightness
Luminance
0.1124
WCAG relative
Temperature
Cool
65/100 cool
Color family
Green
Tone
Vivid
Best ink
White
6.47:1
Closest name
Dark Green
ΔE2000 4.2
Where it sits
Hue126° of 360°
Saturation64%
Lightness26%
Temperature
Warm ← → Cool65% 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#186d21
RGBrgb(24, 109, 33)
HSLhsl(126, 64%, 26%)
CMYKcmyk(78%, 0%, 70%, 57%)
LABlab(40.0 -40.9 34.3)
LCHlch(40.0 53.4 140.1)
OKLCHoklch(0.469 0.136 144.4)
Decimal1600801
Display P3color(display-p3 0.094 0.427 0.129)

Copy-ready code

/* CSS */
color: #186d21;
background-color: #186d21;
/* Tailwind (arbitrary) */
class="text-[#186d21] bg-[#186d21]"
/* SCSS */
$brand: #186d21;
/* SwiftUI */
Color(red: 0.094, green: 0.427, blue: 0.129)
/* Android */
Color.parseColor("#186d21")
/* Flutter */
Color(0xFF186D21)
/* Python / OpenCV (BGR) */
(33, 109, 24)

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

Accessibility — WCAG contrast

Aa
#186d21 on white: 6.47:1
AA ✓ pass · AA-large · AAA
Aa
#186d21 on black: 3.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #6F6217
deuteranopia · #665C28
tritanopia · #006A5D

Color scale — 50 to 950

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

#F4FBF4
#E8F7EA
#CBF0CF
#A3EBAB
#75E181
#47D656
#2CC93D
#25A733
#1D8629
#186d21
#103D15
Base = 900Lightest = 50 · #F4FBF4Darkest = 950 · #103D15
:root {
  --brand-50: #F4FBF4;
  --brand-100: #E8F7EA;
  --brand-200: #CBF0CF;
  --brand-300: #A3EBAB;
  --brand-400: #75E181;
  --brand-500: #47D656;
  --brand-600: #2CC93D;
  --brand-700: #25A733;
  --brand-800: #1D8629;
  --brand-900: #186d21;
  --brand-950: #103D15;
  --brand: #186d21;
  --brand-ink: #ffffff;
}

Colors that work with #186d21

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#F4FAF5
Tinted page background
Border#C0EDC5
Hairlines and dividers
Muted text#4B9B53
Captions on the surface
Accent#631570
Second voice, not a rival
Dark variant#176820
Hover, pressed, headers
Light variant#EAFAEC
Selected rows, tints
Dark surface#142415
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 #186d21

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#6D1864
Analogous left#396D18
Analogous right#186D4C
Split-complement 1#4C186D
Split-complement 2#6D1839
Triadic 1#21186D
Triadic 2#6D2118
Tetradic#18396D

RGB percentages

Red9.4%
Green42.7%
Blue12.9%

CMYK percentages

Cyan78.0%
Magenta0.0%
Yellow69.7%
Key (black)57.3%

Color previews

#186d21 text on a black background

contrast 3.25:1

Card sample

#186d21 text on a white background

contrast 6.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(24, 109, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 109, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #186d21;
background: linear-gradient(135deg, #186d21, #186D5A);

Monochromatic scale

Palettes built from #186d21

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.

#186d21 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.

#186d21, answered

What color is #186d21?

#186d21 is a dark vivid green, closest to Dark Green (ΔE2000 4.2). It sits at 126° on the hue wheel with 64% saturation and 26% lightness, which reads as cool.

What is the RGB value of #186d21?

rgb(24, 109, 33) — 24 red, 109 green and 33 blue out of 255, or 9.4% / 42.7% / 12.9% by channel.

Is #186d21 a light or a dark color?

It is a dark color. Relative luminance is 0.1124 and perceived brightness is 33%, so white text on it reaches 6.47:1.

Should I use black or white text on #186d21?

White. It scores 6.47:1 against #186d21, versus 3.25:1 for black — AA at any size.

What is the complementary color of #186d21?

#6D1864 sits directly opposite on the wheel. Softer options are the split-complements #4C186D and #6D1839, which give the same contrast with far less vibration.

What colors go well with #186d21?

For interface work: #F4FAF5 as the surface, #C0EDC5 for borders, #4B9B53 for secondary text, #631570 as an accent and #176820 for hover and pressed states. For a palette, the analogous pair #396D18 and #186D4C stays calm, while #6D1864 is the loudest partner.

What is #186d21 in CMYK for printing?

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

Is #186d21 warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2E6D18; nudged cooler, #176E40.

Work with #186d21 in the Color Lab