#2A3021

A color in the Green family

#2a3021 is a color in the Green family: RGB(42, 48, 33), HSL(84°, 19%, 16%), CMYK(13%, 0%, 31%, 81%). Closest named color: darkslategray. Contrast is 13.61:1 on white and 1.54:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2a3021
RGBrgb(42 48 33)
RGB (legacy)rgb(42, 48, 33)
RGB %rgb(16% 19% 13%)
HSLhsl(84 19% 16%)
HSV / HSBhsv(84, 31%, 19%)
HWBhwb(84 13% 81%)
CMYKcmyk(13%, 0%, 31%, 81%)
CIELAB (D50)lab(18.91 -5.2 8.74)
LCHlch(18.91 10.17 120.76)
OKLaboklab(0.2985 -0.016 0.0222)
OKLCHoklch(0.2985 0.0273 125.72)
Decimal2764833

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 11.1
Closest web-safe color#333333
Hue84°
Saturation (HSL / HSV)19% / 31%
Lightness (HSL)16%
Brightness or Value (HSV)19%
Luminance (Rec.601 / Rec.709)17% / 18%
Relative luminance (WCAG)0.0272
Red / Green / Blue42 / 48 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.61:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.54: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.1 / 0 · As background with white / black text: Lc -103.2 / 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: #2a3021;
  --color-brand-oklch: oklch(29.85% 0.0273 125.72);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(42 48 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2a3021] text-[#2a3021] border-[#2a3021]">