#2B861D#2B861D

#2B861D is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.163 H 141.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2B861D
RGBrgb(43, 134, 29)
HSLhsl(112, 64%, 32%)
HSVhsv(112, 78%, 53%)
CMYKcmyk(67.9%, 0%, 78.4%, 47.5%)
CIE-LABlab(49.07, -46.48, 45.40)
CIE-LCHlch(49.07, 64.97, 135.67°)
OKLaboklab(54.57% -0.127 0.1019)
OKLCHoklch(54.57% 0.163 141.3)
XYZxyz(9.7426, 17.6515, 4.0558)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B861D #781D86
analogous
#60861D #2B861D #1D8644
triadic
#2B861D #1D2B86 #861D2B
tetradic
#2B861D #1D6086 #781D86 #86441D
square
#2B861D #1D6086 #781D86 #86441D
split-complementary
#2B861D #441D86 #861D60
monochromatic
#0B2107 #1B5412 #2B861D #3BB828 #5AD746

Accessibility & contrast

On white

4.64
#2B861D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2B861D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B861D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B861D#FFFFFF#000000##FFFFFF
##2B861D1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897904
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#198272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b861d;
/* rgb */ color: rgb(43, 134, 29);
/* oklch */ color: oklch(54.6% 0.163 141.3);
Tailwind
colors: {
  custom: {
    50: '#72aa61',
    500: '#2b861d',
    950: '#000000',
  },
}
SCSS
$custom: #2b861d;
$custom-light: #72aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b861d",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 112,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54567,
    "c": 0.16276,
    "h": 141.3
  },
  "luminance": 0.17652
}

Semantic roles & 50–950 ramp

primary
#2B861D
secondary
#AA46B9
accent
#40E7D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B861D

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

Preview Lab → · Contrast checker → · Palette generator →

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