#2E4021

A color in the Green family

#2e4021 is a color in the Green family: RGB(46, 64, 33), HSL(95°, 32%, 19%), CMYK(28%, 0%, 48%, 75%). Closest named color: darkslategray. Contrast is 11.22:1 on white and 1.87:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2e4021
RGBrgb(46 64 33)
RGB (legacy)rgb(46, 64, 33)
RGB %rgb(18% 25% 13%)
HSLhsl(95 32% 19%)
HSV / HSBhsv(95, 48%, 25%)
HWBhwb(95 13% 75%)
CMYKcmyk(28%, 0%, 48%, 75%)
CIELAB (D50)lab(24.88 -12.5 16.5)
LCHlch(24.88 20.7 127.14)
OKLaboklab(0.3471 -0.0382 0.0407)
OKLCHoklch(0.3471 0.0558 133.2)
Decimal3031073

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 7.6
Closest web-safe color#333333
Hue95°
Saturation (HSL / HSV)32% / 48%
Lightness (HSL)19%
Brightness or Value (HSV)25%
Luminance (Rec.601 / Rec.709)22% / 23%
Relative luminance (WCAG)0.0436
Red / Green / Blue46 / 64 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.22:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.87: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 95.9 / 0 · As background with white / black text: Lc -99.6 / 8

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: #2e4021;
  --color-brand-oklch: oklch(34.71% 0.0558 133.2);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(46 64 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2e4021] text-[#2e4021] border-[#2e4021]">