Skip to content

#222f13

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

RGB
34, 47, 19
HSL
88°, 42%, 13%
CMYK
28, 0, 60, 82
Luminance
0.0242

At a glance

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

Hex
#222f13
Hue
88°
green
Saturation
42%
soft
Lightness
13%
deep
Brightness
18%
HSV value
Perceived
16%
weighted brightness
Luminance
0.0242
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Green
Tone
Soft
Best ink
White
14.15:1
Closest name
Dark Slate Gray
ΔE2000 17.4
Where it sits
Hue88° of 360°
Saturation42%
Lightness13%
Temperature
Warm ← → Cool48% 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#222f13
RGBrgb(34, 47, 19)
HSLhsl(88, 42%, 13%)
CMYKcmyk(28%, 0%, 60%, 82%)
LABlab(17.6 -11.5 16.1)
LCHlch(17.6 19.8 125.5)
OKLCHoklch(0.285 0.050 129.6)
Decimal2240275
Display P3color(display-p3 0.133 0.184 0.075)

Copy-ready code

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

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 #222f13 · 14.15:1
Use #ffffffAAA at every size.
Aa
White text · 14.15: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: #222f13 as text scores 14.15:1 on white and 1.48:1 on black.

Accessibility — WCAG contrast

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

Color scale — 50 to 950

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

#F8FAF5
#F0F5EB
#DFEAD1
#C9DFAF
#ADCF87
#92BE5F
#7EAE47
#69913B
#54742F
#3F5525
#222f13
Base = 950Lightest = 50 · #F8FAF5Darkest = 950 · #222f13
:root {
  --brand-50: #F8FAF5;
  --brand-100: #F0F5EB;
  --brand-200: #DFEAD1;
  --brand-300: #C9DFAF;
  --brand-400: #ADCF87;
  --brand-500: #92BE5F;
  --brand-600: #7EAE47;
  --brand-700: #69913B;
  --brand-800: #54742F;
  --brand-900: #3F5525;
  --brand-950: #222f13;
  --brand: #222f13;
  --brand-ink: #ffffff;
}

Colors that work with #222f13

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#F8FAF4
Tinted page background
Border#D7E7C5
Hairlines and dividers
Muted text#769B4B
Captions on the surface
Accent#181230
Second voice, not a rival
Dark variant#425B25
Hover, pressed, headers
Light variant#F3F8ED
Selected rows, tints
Dark surface#1D2414
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 #222f13

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#20132F
Analogous left#2F2E13
Analogous right#142F13
Split-complement 1#13142F
Split-complement 2#2E132F
Triadic 1#13222F
Triadic 2#2F1322
Tetradic#132F2E

RGB percentages

Red13.3%
Green18.4%
Blue7.5%

CMYK percentages

Cyan27.7%
Magenta0.0%
Yellow59.6%
Key (black)81.6%

Color previews

#222f13 text on a black background

contrast 1.48:1

Card sample

#222f13 text on a white background

contrast 14.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #222f13

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.

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

#222f13, answered

What color is #222f13?

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

What is the RGB value of #222f13?

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

Is #222f13 a light or a dark color?

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

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

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

What is the complementary color of #222f13?

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

What colors go well with #222f13?

For interface work: #F8FAF4 as the surface, #D7E7C5 for borders, #769B4B for secondary text, #181230 as an accent and #425B25 for hover and pressed states. For a palette, the analogous pair #2F2E13 and #142F13 stays calm, while #20132F is the loudest partner.

What is #222f13 in CMYK for printing?

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

Is #222f13 warm or cool?

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

Work with #222f13 in the Color Lab