#1B341F

A color in the Green family

#1b341f is a color in the Green family: RGB(27, 52, 31), HSL(130°, 32%, 15%), CMYK(48%, 0%, 40%, 80%). Closest named color: darkslategray. Contrast is 13.48:1 on white and 1.56:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#1b341f
RGBrgb(27 52 31)
RGB (legacy)rgb(27, 52, 31)
RGB %rgb(11% 20% 12%)
HSLhsl(130 32% 15%)
HSV / HSBhsv(130, 48%, 20%)
HWBhwb(130 11% 80%)
CMYKcmyk(48%, 0%, 40%, 80%)
CIELAB (D50)lab(19.18 -14.33 10.17)
LCHlch(19.18 17.57 144.65)
OKLaboklab(0.2979 -0.0416 0.0259)
OKLCHoklch(0.2979 0.049 148.05)
Decimal1782815

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 11.1
Closest web-safe color#333333
Hue130°
Saturation (HSL / HSV)32% / 48%
Lightness (HSL)15%
Brightness or Value (HSV)20%
Luminance (Rec.601 / Rec.709)17% / 18%
Relative luminance (WCAG)0.0279
Red / Green / Blue27 / 52 / 31

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.48:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.56:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 99.9 / 0 · As background with white / black text: Lc -103 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #1b341f;
  --color-brand-oklch: oklch(29.79% 0.049 148.05);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(27 52 31 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1b341f] text-[#1b341f] border-[#1b341f]">