#2B861B#2B861B

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

Color values

HEX#2B861B
RGBrgb(43, 134, 27)
HSLhsl(111, 66%, 32%)
HSVhsv(111, 80%, 53%)
CMYKcmyk(67.9%, 0%, 79.9%, 47.5%)
CIE-LABlab(49.06, -46.62, 46.08)
CIE-LCHlch(49.06, 65.55, 135.34°)
OKLaboklab(54.55% -0.1274 0.103)
OKLCHoklch(54.55% 0.164 141.1)
XYZxyz(9.7187, 17.6419, 3.9298)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B861B #761B86
analogous
#61861B #2B861B #1B8641
triadic
#2B861B #1B2B86 #861B2B
tetradic
#2B861B #1B6186 #761B86 #86411B
square
#2B861B #1B6186 #761B86 #86411B
split-complementary
#2B861B #411B86 #861B61
monochromatic
#0A2006 #1B5311 #2B861B #3BB925 #59D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B861B#FFFFFF#000000##FFFFFF
##2B861B1.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)
#8A7900
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#1A8272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b861b;
/* rgb */ color: rgb(43, 134, 27);
/* oklch */ color: oklch(54.6% 0.164 141.1);
Tailwind
colors: {
  custom: {
    50: '#72aa60',
    500: '#2b861b',
    950: '#000000',
  },
}
SCSS
$custom: #2b861b;
$custom-light: #72aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b861b",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 111.028,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54553,
    "c": 0.16385,
    "h": 141.1
  },
  "luminance": 0.17643
}

Semantic roles & 50–950 ramp

primary
#2B861B
secondary
#A844B9
accent
#3EE9D0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B861B

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

Preview Lab → · Contrast checker → · Palette generator →

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