#1A2F21

A color in the Green family

#1a2f21 is a color in the Green family: RGB(26, 47, 33), HSL(140°, 29%, 14%), CMYK(45%, 0%, 30%, 82%). Closest named color: darkslategray. Contrast is 14.26:1 on white and 1.47:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#1a2f21
RGBrgb(26 47 33)
RGB (legacy)rgb(26, 47, 33)
RGB %rgb(10% 18% 13%)
HSLhsl(140 29% 14%)
HSV / HSBhsv(140, 45%, 18%)
HWBhwb(140 10% 82%)
CMYKcmyk(45%, 0%, 30%, 82%)
CIELAB (D50)lab(17.27 -11.7 6.26)
LCHlch(17.27 13.27 151.83)
OKLaboklab(0.2826 -0.0337 0.0163)
OKLCHoklch(0.2826 0.0375 154.15)
Decimal1716001

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 12.3
Closest web-safe color#333333
Hue140°
Saturation (HSL / HSV)29% / 45%
Lightness (HSL)14%
Brightness or Value (HSV)18%
Luminance (Rec.601 / Rec.709)15% / 16%
Relative luminance (WCAG)0.0236
Red / Green / Blue26 / 47 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.26:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.47: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 100.9 / 0 · As background with white / black text: Lc -103.9 / 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: #1a2f21;
  --color-brand-oklch: oklch(28.26% 0.0375 154.15);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(26 47 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1a2f21] text-[#1a2f21] border-[#1a2f21]">