#2B861F#2B861F

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

Color values

HEX#2B861F
RGBrgb(43, 134, 31)
HSLhsl(113, 62%, 32%)
HSVhsv(113, 77%, 53%)
CMYKcmyk(67.9%, 0%, 76.9%, 47.5%)
CIE-LABlab(49.08, -46.33, 44.69)
CIE-LCHlch(49.08, 64.37, 136.03°)
OKLaboklab(54.58% -0.1264 0.1007)
OKLCHoklch(54.58% 0.162 141.5)
XYZxyz(9.7682, 17.6617, 4.1903)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B861F #7A1F86
analogous
#5E861F #2B861F #1F8647
triadic
#2B861F #1F2B86 #861F2B
tetradic
#2B861F #1F5E86 #7A1F86 #86471F
square
#2B861F #1F5E86 #7A1F86 #86471F
split-complementary
#2B861F #471F86 #861F5E
monochromatic
#0B2308 #1B5414 #2B861F #3BB82A #5AD54A

Accessibility & contrast

On white

4.63
#2B861F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B861F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B861F#FFFFFF#000000##FFFFFF
##2B861F1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b861f;
/* rgb */ color: rgb(43, 134, 31);
/* oklch */ color: oklch(54.6% 0.162 141.5);
Tailwind
colors: {
  custom: {
    50: '#72aa62',
    500: '#2b861f',
    950: '#000000',
  },
}
SCSS
$custom: #2b861f;
$custom-light: #72aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#2b861f",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 113.01,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54581,
    "c": 0.16162,
    "h": 141.5
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#2B861F
secondary
#AB49B8
accent
#42E5D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B861F

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

Preview Lab → · Contrast checker → · Palette generator →

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