#2B862B#2B862B

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

Color values

HEX#2B862B
RGBrgb(43, 134, 43)
HSLhsl(120, 51%, 35%)
HSVhsv(120, 68%, 53%)
CMYKcmyk(67.9%, 0%, 67.9%, 47.5%)
CIE-LABlab(49.18, -45.23, 39.88)
CIE-LCHlch(49.18, 60.30, 138.59°)
OKLaboklab(54.69% -0.1228 0.0922)
OKLCHoklch(54.69% 0.154 143.1)
XYZxyz(9.9568, 17.7372, 5.1839)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B862B #862B86
analogous
#59862B #2B862B #2B8659
triadic
#2B862B #2B2B86 #862B2B
tetradic
#2B862B #2B5986 #862B86 #86592B
square
#2B862B #2B5986 #862B86 #86592B
split-complementary
#2B862B #592B86 #862B59
monochromatic
#0D290D #1C581C #2B862B #3AB43A #60CC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B862B#FFFFFF#000000##FFFFFF
##2B862B1.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)
#89791F
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#158273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b862b;
/* rgb */ color: rgb(43, 134, 43);
/* oklch */ color: oklch(54.7% 0.154 143.1);
Tailwind
colors: {
  custom: {
    50: '#71aa69',
    500: '#2b862b',
    950: '#000000',
  },
}
SCSS
$custom: #2b862b;
$custom-light: #71aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b862b",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54688,
    "c": 0.15355,
    "h": 143.1
  },
  "luminance": 0.17738
}

Semantic roles & 50–950 ramp

primary
#2B862B
secondary
#B25BB2
accent
#4DDBDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B862B

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

Preview Lab → · Contrast checker → · Palette generator →

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