#2B841D#2B841D

#2B841D is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.160 H 141.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2B841D
RGBrgb(43, 132, 29)
HSLhsl(112, 64%, 32%)
HSVhsv(112, 78%, 52%)
CMYKcmyk(67.4%, 0%, 78%, 48.2%)
CIE-LABlab(48.39, -45.76, 44.73)
CIE-LCHlch(48.39, 63.99, 135.65°)
OKLaboklab(54% -0.125 0.1005)
OKLCHoklch(54% 0.16 141.2)
XYZxyz(9.4688, 17.1039, 3.9645)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B841D #761D84
analogous
#5F841D #2B841D #1D8443
triadic
#2B841D #1D2B84 #841D2B
tetradic
#2B841D #1D5F84 #761D84 #84431D
square
#2B841D #1D5F84 #761D84 #84431D
split-complementary
#2B841D #431D84 #841D5F
monochromatic
#0A2007 #1B5212 #2B841D #3BB628 #59D645

Accessibility & contrast

On white

4.75
#2B841D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2B841D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B841D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B841D#FFFFFF#000000##FFFFFF
##2B841D1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#1A8070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b841d;
/* rgb */ color: rgb(43, 132, 29);
/* oklch */ color: oklch(54.0% 0.160 141.2);
Tailwind
colors: {
  custom: {
    50: '#71a961',
    500: '#2b841d',
    950: '#000000',
  },
}
SCSS
$custom: #2b841d;
$custom-light: #71a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2b841d",
  "rgb": {
    "r": 43,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 111.845,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54003,
    "c": 0.16038,
    "h": 141.2
  },
  "luminance": 0.17105
}

Semantic roles & 50–950 ramp

primary
#2B841D
secondary
#A846B7
accent
#41E7D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B841D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2B841D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva