Skip to content

#212f13

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

RGB
33, 47, 19
HSL
90°, 42%, 13%
CMYK
30, 0, 60, 82
Luminance
0.0240

At a glance

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

Hex
#212f13
Hue
90°
green
Saturation
42%
soft
Lightness
13%
deep
Brightness
18%
HSV value
Perceived
16%
weighted brightness
Luminance
0.0240
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Green
Tone
Soft
Best ink
White
14.18:1
Closest name
Dark Slate Gray
ΔE2000 17.3
Where it sits
Hue90° of 360°
Saturation42%
Lightness13%
Temperature
Warm ← → Cool50% 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#212f13
RGBrgb(33, 47, 19)
HSLhsl(90, 42%, 13%)
CMYKcmyk(30%, 0%, 60%, 82%)
LABlab(17.5 -12.0 16.0)
LCHlch(17.5 20.0 126.8)
OKLCHoklch(0.284 0.051 130.9)
Decimal2174739
Display P3color(display-p3 0.129 0.184 0.075)

Copy-ready code

/* CSS */
color: #212f13;
background-color: #212f13;
/* Tailwind (arbitrary) */
class="text-[#212f13] bg-[#212f13]"
/* SCSS */
$brand: #212f13;
/* SwiftUI */
Color(red: 0.129, green: 0.184, blue: 0.075)
/* Android */
Color.parseColor("#212f13")
/* Flutter */
Color(0xFF212F13)
/* Python / OpenCV (BGR) */
(19, 47, 33)

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

Accessibility — WCAG contrast

Aa
#212f13 on white: 14.18:1
AA ✓ pass · AA-large · AAA
Aa
#212f13 on black: 1.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #312C11
deuteranopia · #2F2B15
tritanopia · #222D29

Color scale — 50 to 950

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

#F7FAF5
#F0F5EB
#DEEAD1
#C7DFAF
#ABCF87
#8FBE5F
#7AAE47
#66913B
#52742F
#3D5525
#212f13
Base = 950Lightest = 50 · #F7FAF5Darkest = 950 · #212f13
:root {
  --brand-50: #F7FAF5;
  --brand-100: #F0F5EB;
  --brand-200: #DEEAD1;
  --brand-300: #C7DFAF;
  --brand-400: #ABCF87;
  --brand-500: #8FBE5F;
  --brand-600: #7AAE47;
  --brand-700: #66913B;
  --brand-800: #52742F;
  --brand-900: #3D5525;
  --brand-950: #212f13;
  --brand: #212f13;
  --brand-ink: #ffffff;
}

Colors that work with #212f13

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#D6E7C5
Hairlines and dividers
Muted text#739B4B
Captions on the surface
Accent#191230
Second voice, not a rival
Dark variant#405B25
Hover, pressed, headers
Light variant#F2F8ED
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 #212f13

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#21132F
Analogous left#2F2F13
Analogous right#132F13
Split-complement 1#13132F
Split-complement 2#2F132F
Triadic 1#13212F
Triadic 2#2F1321
Tetradic#132F2F

RGB percentages

Red12.9%
Green18.4%
Blue7.5%

CMYK percentages

Cyan29.8%
Magenta0.0%
Yellow59.6%
Key (black)81.6%

Color previews

#212f13 text on a black background

contrast 1.48:1

Card sample

#212f13 text on a white background

contrast 14.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #212f13;
Background color
Panel with #212f13 background
background-color: #212f13;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #212f13;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(33, 47, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(33, 47, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #212f13;
background: linear-gradient(135deg, #212f13, #132F18);

Monochromatic scale

Palettes built from #212f13

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.

#212f13 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.

#212f13, answered

What color is #212f13?

#212f13 is a deep soft green, closest to Dark Slate Gray (ΔE2000 17.3). It sits at 90° on the hue wheel with 42% saturation and 13% lightness, which reads as neutral.

What is the RGB value of #212f13?

rgb(33, 47, 19) — 33 red, 47 green and 19 blue out of 255, or 12.9% / 18.4% / 7.5% by channel.

Is #212f13 a light or a dark color?

It is a dark color. Relative luminance is 0.0240 and perceived brightness is 16%, so white text on it reaches 14.18:1.

Should I use black or white text on #212f13?

White. It scores 14.18:1 against #212f13, versus 1.48:1 for black — AAA at any size.

What is the complementary color of #212f13?

#21132F sits directly opposite on the wheel. Softer options are the split-complements #13132F and #2F132F, which give the same contrast with far less vibration.

What colors go well with #212f13?

For interface work: #F7FAF4 as the surface, #D6E7C5 for borders, #739B4B for secondary text, #191230 as an accent and #405B25 for hover and pressed states. For a palette, the analogous pair #2F2F13 and #132F13 stays calm, while #21132F is the loudest partner.

What is #212f13 in CMYK for printing?

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

Is #212f13 warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2B2F13; nudged cooler, #163012.

Work with #212f13 in the Color Lab