Skip to content

#182c21

a deep, soft green · cool · closest name: Dark Slate Gray

RGB
24, 44, 33
HSL
147°, 29%, 13%
CMYK
46, 0, 25, 83
Luminance
0.0211

At a glance

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

Hex
#182c21
Hue
147°
green
Saturation
29%
soft
Lightness
13%
deep
Brightness
17%
HSV value
Perceived
15%
weighted brightness
Luminance
0.0211
WCAG relative
Temperature
Cool
70/100 cool
Color family
Green
Tone
Soft
Best ink
White
14.78:1
Closest name
Dark Slate Gray
ΔE2000 12.8
Where it sits
Hue147° of 360°
Saturation29%
Lightness13%
Temperature
Warm ← → Cool70% 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#182c21
RGBrgb(24, 44, 33)
HSLhsl(147, 29%, 13%)
CMYKcmyk(46%, 0%, 25%, 83%)
LABlab(16.0 -11.2 4.6)
LCHlch(16.0 12.1 157.6)
OKLCHoklch(0.272 0.033 159.1)
Decimal1584161
Display P3color(display-p3 0.094 0.173 0.129)

Copy-ready code

/* CSS */
color: #182c21;
background-color: #182c21;
/* Tailwind (arbitrary) */
class="text-[#182c21] bg-[#182c21]"
/* SCSS */
$brand: #182c21;
/* SwiftUI */
Color(red: 0.094, green: 0.173, blue: 0.129)
/* Android */
Color.parseColor("#182c21")
/* Flutter */
Color(0xFF182C21)
/* Python / OpenCV (BGR) */
(33, 44, 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 #182c21 · 14.78:1
Use #ffffffAAA at every size.
Aa
White text · 14.78:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.42:1
AA fail · AA large fail · AAA fail
Reading the other direction: #182c21 as text scores 14.78:1 on white and 1.42:1 on black.

Accessibility — WCAG contrast

Aa
#182c21 on white: 14.78:1
AA ✓ pass · AA-large · AAA
Aa
#182c21 on black: 1.42:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2C2920
deuteranopia · #282722
tritanopia · #142C29

Color scale — 50 to 950

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

#F6F9F7
#ECF3EF
#D5E6DD
#B6D7C5
#92C4A8
#6EB08C
#569E77
#488463
#3A6A4F
#2D4E3C
#182c21
Base = 950Lightest = 50 · #F6F9F7Darkest = 950 · #182c21
:root {
  --brand-50: #F6F9F7;
  --brand-100: #ECF3EF;
  --brand-200: #D5E6DD;
  --brand-300: #B6D7C5;
  --brand-400: #92C4A8;
  --brand-500: #6EB08C;
  --brand-600: #569E77;
  --brand-700: #488463;
  --brand-800: #3A6A4F;
  --brand-900: #2D4E3C;
  --brand-950: #182c21;
  --brand: #182c21;
  --brand-ink: #ffffff;
}

Colors that work with #182c21

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#F5FAF7
Tinted page background
Border#CAE2D5
Hairlines and dividers
Muted text#51946F
Captions on the surface
Accent#2D1729
Second voice, not a rival
Dark variant#2D523E
Hover, pressed, headers
Light variant#EFF6F2
Selected rows, tints
Dark surface#14241B
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 #182c21

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#2C1823
Analogous left#192C18
Analogous right#182C2B
Split-complement 1#2B182C
Split-complement 2#2C1819
Triadic 1#21182C
Triadic 2#2C2118
Tetradic#18192C

RGB percentages

Red9.4%
Green17.3%
Blue12.9%

CMYK percentages

Cyan45.5%
Magenta0.0%
Yellow25.0%
Key (black)82.7%

Color previews

#182c21 text on a black background

contrast 1.42:1

Card sample

#182c21 text on a white background

contrast 14.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #182c21

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.

#182c21 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.

#182c21, answered

What color is #182c21?

#182c21 is a deep soft green, closest to Dark Slate Gray (ΔE2000 12.8). It sits at 147° on the hue wheel with 29% saturation and 13% lightness, which reads as cool.

What is the RGB value of #182c21?

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

Is #182c21 a light or a dark color?

It is a dark color. Relative luminance is 0.0211 and perceived brightness is 15%, so white text on it reaches 14.78:1.

Should I use black or white text on #182c21?

White. It scores 14.78:1 against #182c21, versus 1.42:1 for black — AAA at any size.

What is the complementary color of #182c21?

#2C1823 sits directly opposite on the wheel. Softer options are the split-complements #2B182C and #2C1819, which give the same contrast with far less vibration.

What colors go well with #182c21?

For interface work: #F5FAF7 as the surface, #CAE2D5 for borders, #51946F for secondary text, #2D1729 as an accent and #2D523E for hover and pressed states. For a palette, the analogous pair #192C18 and #182C2B stays calm, while #2C1823 is the loudest partner.

What is #182c21 in CMYK for printing?

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

Is #182c21 warm or cool?

Cool — it scores 70 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #182C1A; nudged cooler, #172D29.

Work with #182c21 in the Color Lab