Skip to content

#1b2b13

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

RGB
27, 43, 19
HSL
100°, 39%, 12%
CMYK
37, 0, 56, 83
Luminance
0.0201

At a glance

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

Hex
#1b2b13
Hue
100°
green
Saturation
39%
soft
Lightness
12%
deep
Brightness
17%
HSV value
Perceived
14%
weighted brightness
Luminance
0.0201
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Green
Tone
Soft
Best ink
White
14.98:1
Closest name
Dark Slate Gray
ΔE2000 16.9
Where it sits
Hue100° of 360°
Saturation39%
Lightness12%
Temperature
Warm ← → Cool54% 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#1b2b13
RGBrgb(27, 43, 19)
HSLhsl(100, 39%, 12%)
CMYKcmyk(37%, 0%, 56%, 83%)
LABlab(15.5 -12.4 13.5)
LCHlch(15.5 18.3 132.5)
OKLCHoklch(0.268 0.047 136.0)
Decimal1780499
Display P3color(display-p3 0.106 0.169 0.075)

Copy-ready code

/* CSS */
color: #1b2b13;
background-color: #1b2b13;
/* Tailwind (arbitrary) */
class="text-[#1b2b13] bg-[#1b2b13]"
/* SCSS */
$brand: #1b2b13;
/* SwiftUI */
Color(red: 0.106, green: 0.169, blue: 0.075)
/* Android */
Color.parseColor("#1b2b13")
/* Flutter */
Color(0xFF1B2B13)
/* Python / OpenCV (BGR) */
(19, 43, 27)

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

Accessibility — WCAG contrast

Aa
#1b2b13 on white: 14.98:1
AA ✓ pass · AA-large · AAA
Aa
#1b2b13 on black: 1.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2D2811
deuteranopia · #2A2614
tritanopia · #1B2925

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #1b2b13 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
#EEF4EB
#DAE9D3
#C0DDB1
#A0CB8A
#80BA63
#6BAA4B
#598D3F
#477132
#365327
#1b2b13
Base = 950Lightest = 50 · #F7FAF5Darkest = 950 · #1b2b13
:root {
  --brand-50: #F7FAF5;
  --brand-100: #EEF4EB;
  --brand-200: #DAE9D3;
  --brand-300: #C0DDB1;
  --brand-400: #A0CB8A;
  --brand-500: #80BA63;
  --brand-600: #6BAA4B;
  --brand-700: #598D3F;
  --brand-800: #477132;
  --brand-900: #365327;
  --brand-950: #1b2b13;
  --brand: #1b2b13;
  --brand-ink: #ffffff;
}

Colors that work with #1b2b13

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#F6FAF4
Tinted page background
Border#D1E6C6
Hairlines and dividers
Muted text#659B4B
Captions on the surface
Accent#1D122C
Second voice, not a rival
Dark variant#385827
Hover, pressed, headers
Light variant#F1F7ED
Selected rows, tints
Dark surface#192414
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 #1b2b13

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#23132B
Analogous left#272B13
Analogous right#132B17
Split-complement 1#17132B
Split-complement 2#2B1327
Triadic 1#131B2B
Triadic 2#2B131B
Tetradic#13272B

RGB percentages

Red10.6%
Green16.9%
Blue7.5%

CMYK percentages

Cyan37.2%
Magenta0.0%
Yellow55.8%
Key (black)83.1%

Color previews

#1b2b13 text on a black background

contrast 1.40:1

Card sample

#1b2b13 text on a white background

contrast 14.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1b2b13;
Background color
Panel with #1b2b13 background
background-color: #1b2b13;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1b2b13;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(27, 43, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 43, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1b2b13;
background: linear-gradient(135deg, #1b2b13, #132B1B);

Monochromatic scale

Palettes built from #1b2b13

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.

#1b2b13 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.

#1b2b13, answered

What color is #1b2b13?

#1b2b13 is a deep soft green, closest to Dark Slate Gray (ΔE2000 16.9). It sits at 100° on the hue wheel with 39% saturation and 12% lightness, which reads as neutral.

What is the RGB value of #1b2b13?

rgb(27, 43, 19) — 27 red, 43 green and 19 blue out of 255, or 10.6% / 16.9% / 7.5% by channel.

Is #1b2b13 a light or a dark color?

It is a dark color. Relative luminance is 0.0201 and perceived brightness is 14%, so white text on it reaches 14.98:1.

Should I use black or white text on #1b2b13?

White. It scores 14.98:1 against #1b2b13, versus 1.40:1 for black — AAA at any size.

What is the complementary color of #1b2b13?

#23132B sits directly opposite on the wheel. Softer options are the split-complements #17132B and #2B1327, which give the same contrast with far less vibration.

What colors go well with #1b2b13?

For interface work: #F6FAF4 as the surface, #D1E6C6 for borders, #659B4B for secondary text, #1D122C as an accent and #385827 for hover and pressed states. For a palette, the analogous pair #272B13 and #132B17 stays calm, while #23132B is the loudest partner.

What is #1b2b13 in CMYK for printing?

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

Is #1b2b13 warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #242B13; nudged cooler, #122C13.

Work with #1b2b13 in the Color Lab