#2B861C#2B861C

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

Color values

HEX#2B861C
RGBrgb(43, 134, 28)
HSLhsl(112, 65%, 32%)
HSVhsv(112, 79%, 53%)
CMYKcmyk(67.9%, 0%, 79.1%, 47.5%)
CIE-LABlab(49.06, -46.55, 45.74)
CIE-LCHlch(49.06, 65.26, 135.50°)
OKLaboklab(54.56% -0.1272 0.1024)
OKLCHoklch(54.56% 0.163 141.2)
XYZxyz(9.7305, 17.6466, 3.9917)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B861C #771C86
analogous
#60861C #2B861C #1C8642
triadic
#2B861C #1C2B86 #861C2B
tetradic
#2B861C #1C6086 #771C86 #86421C
square
#2B861C #1C6086 #771C86 #86421C
split-complementary
#2B861C #421C86 #861C60
monochromatic
#0B2107 #1B5311 #2B861C #3BB927 #59D844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B861C#FFFFFF#000000##FFFFFF
##2B861C1.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)
#8A7902
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#198272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b861c;
/* rgb */ color: rgb(43, 134, 28);
/* oklch */ color: oklch(54.6% 0.163 141.2);
Tailwind
colors: {
  custom: {
    50: '#72aa61',
    500: '#2b861c',
    950: '#000000',
  },
}
SCSS
$custom: #2b861c;
$custom-light: #72aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b861c",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 111.509,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5456,
    "c": 0.16332,
    "h": 141.2
  },
  "luminance": 0.17648
}

Semantic roles & 50–950 ramp

primary
#2B861C
secondary
#A945B9
accent
#3FE8D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B861C

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

Preview Lab → · Contrast checker → · Palette generator →

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