#2B671F

A color in the Green family

#2b671f is a color in the Green family: RGB(43, 103, 31), HSL(110°, 54%, 26%), CMYK(58%, 0%, 70%, 60%). Closest named color: darkgreen. Contrast is 6.86:1 on white and 3.06:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2b671f
RGBrgb(43 103 31)
RGB (legacy)rgb(43, 103, 31)
RGB %rgb(17% 40% 12%)
HSLhsl(110 54% 26%)
HSV / HSBhsv(110, 70%, 40%)
HWBhwb(110 12% 60%)
CMYKcmyk(58%, 0%, 70%, 60%)
CIELAB (D50)lab(38.45 -31.5 32.99)
LCHlch(38.45 45.61 133.68)
OKLaboklab(0.4575 -0.0941 0.0775)
OKLCHoklch(0.4575 0.1219 140.53)
Decimal2844447

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 3.4
Closest web-safe color#336633
Hue110°
Saturation (HSL / HSV)54% / 70%
Lightness (HSL)26%
Brightness or Value (HSV)40%
Luminance (Rec.601 / Rec.709)30% / 33%
Relative luminance (WCAG)0.1031
Red / Green / Blue43 / 103 / 31

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 83.4 / -18.5 · As background with white / black text: Lc -88.4 / 20.6

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: #2b671f;
  --color-brand-oklch: oklch(45.75% 0.1219 140.53);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(43 103 31 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2b671f] text-[#2b671f] border-[#2b671f]">