#222f13
a deep, soft green · neutral · closest name: Dark Slate Gray
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.
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 |
| RGB | rgb(34, 47, 19) |
| HSL | hsl(88, 42%, 13%) |
| CMYK | cmyk(28%, 0%, 60%, 82%) |
| LAB | lab(17.6 -11.5 16.1) |
| LCH | lch(17.6 19.8 125.5) |
| OKLCH | oklch(0.285 0.050 129.6) |
| Decimal | 2240275 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #222f13
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Charts, tags and secondary surfaces
- ✓Headers, footers and dark-mode surfaces
- ✓Brand accents, badges and data highlights
- ⚠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 | Directly opposite — maximum tension | |
| Analogous left | #2F2E13 | Neighbour, quieter | |
| Analogous right | #142F13 | Neighbour, quieter | |
| Split-complement 1 | #13142F | Contrast without the clash | |
| Split-complement 2 | #2E132F | Contrast without the clash | |
| Triadic 1 | #13222F | Even thirds — balanced and loud | |
| Triadic 2 | #2F1322 | Even thirds — balanced and loud | |
| Tetradic | #132F2E | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#222f13 text on a black background
contrast 1.48:1
#222f13 text on a white background
contrast 14.15:1
CSS3 live lab
The quick brown fox
color: #222f13;
background-color: #222f13;
Glowing headline
text-shadow: 2px 2px 8px #222f13;
Soft neon halo
text-shadow: 0 0 14px rgba(34, 47, 19, 0.45);
box-shadow: 0 12px 32px -8px rgba(34, 47, 19, 0.45);
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.
Closest color with a full write-up: Hunter Green (#355e3b) — ΔE2000 15.7 away, with its history, psychology and brand usage.
#222f13 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
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.