#2B862A#2B862A

#2B862A is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.154 H 143.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2B862A
RGBrgb(43, 134, 42)
HSLhsl(119, 52%, 35%)
HSVhsv(119, 69%, 53%)
CMYKcmyk(67.9%, 0%, 68.7%, 47.5%)
CIE-LABlab(49.17, -45.33, 40.32)
CIE-LCHlch(49.17, 60.67, 138.35°)
OKLaboklab(54.68% -0.1232 0.093)
OKLCHoklch(54.68% 0.154 143)
XYZxyz(9.9387, 17.7299, 5.0885)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B862A #852A86
analogous
#59862A #2B862A #2A8657
triadic
#2B862A #2A2B86 #862A2B
tetradic
#2B862A #2A5986 #852A86 #86572A
square
#2B862A #2A5986 #852A86 #86572A
split-complementary
#2B862A #572A86 #862A59
monochromatic
#0D290D #1C571B #2B862A #3AB539 #5FCD5E

Accessibility & contrast

On white

4.62
#2B862A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2B862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B862A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B862A#FFFFFF#000000##FFFFFF
##2B862A1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89791E
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#168273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b862a;
/* rgb */ color: rgb(43, 134, 42);
/* oklch */ color: oklch(54.7% 0.154 143.0);
Tailwind
colors: {
  custom: {
    50: '#71aa68',
    500: '#2b862a',
    950: '#000000',
  },
}
SCSS
$custom: #2b862a;
$custom-light: #71aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#2b862a",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 119.348,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54677,
    "c": 0.1543,
    "h": 143
  },
  "luminance": 0.17731
}

Semantic roles & 50–950 ramp

primary
#2B862A
secondary
#B15AB2
accent
#4CDCDA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B862A

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

Preview Lab → · Contrast checker → · Palette generator →

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