#2B861A#2B861A

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

Color values

HEX#2B861A
RGBrgb(43, 134, 26)
HSLhsl(111, 68%, 31%)
HSVhsv(111, 81%, 53%)
CMYKcmyk(67.9%, 0%, 80.6%, 47.5%)
CIE-LABlab(49.05, -46.69, 46.40)
CIE-LCHlch(49.05, 65.82, 135.17°)
OKLaboklab(54.55% -0.1277 0.1035)
OKLCHoklch(54.55% 0.164 141)
XYZxyz(9.7073, 17.6374, 3.8699)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B861A #751A86
analogous
#61861A #2B861A #1A863F
triadic
#2B861A #1A2B86 #861A2B
tetradic
#2B861A #1A6186 #751A86 #863F1A
square
#2B861A #1A6186 #751A86 #863F1A
split-complementary
#2B861A #3F1A86 #861A61
monochromatic
#0A1F06 #1B5310 #2B861A #3BB924 #59DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B861A#FFFFFF#000000##FFFFFF
##2B861A1.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: #2b861a;
/* rgb */ color: rgb(43, 134, 26);
/* oklch */ color: oklch(54.5% 0.164 141.0);
Tailwind
colors: {
  custom: {
    50: '#72aa60',
    500: '#2b861a',
    950: '#000000',
  },
}
SCSS
$custom: #2b861a;
$custom-light: #72aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b861a",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 110.556,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54547,
    "c": 0.16437,
    "h": 141
  },
  "luminance": 0.17638
}

Semantic roles & 50–950 ramp

primary
#2B861A
secondary
#A742B9
accent
#3DEACF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B861A

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

Preview Lab → · Contrast checker → · Palette generator →

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