#2B873D#2B873D

#2B873D is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.140 H 146.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2B873D
RGBrgb(43, 135, 61)
HSLhsl(132, 52%, 35%)
HSVhsv(132, 68%, 53%)
CMYKcmyk(68.1%, 0%, 54.8%, 47.1%)
CIE-LABlab(49.71, -43.31, 31.79)
CIE-LCHlch(49.71, 53.72, 143.72°)
OKLaboklab(55.19% -0.1169 0.0763)
OKLCHoklch(55.19% 0.14 146.9)
XYZxyz(10.5018, 18.1774, 7.3691)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B873D #872B75
analogous
#47872B #2B873D #2B876B
triadic
#2B873D #3D2B87 #873D2B
tetradic
#2B873D #2B4787 #872B75 #876B2B
square
#2B873D #2B4787 #872B75 #876B2B
split-complementary
#2B873D #6B2B87 #872B47
monochromatic
#0D2A13 #1C5928 #2B873D #3AB552 #60CC75

Accessibility & contrast

On white

4.53
#2B873D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2B873D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B873D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B873D#FFFFFF#000000##000000
##2B873D1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B36
Deuteranopia (green-blind)
#7D7343
Tritanopia (blue-blind)
#0B8476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b873d;
/* rgb */ color: rgb(43, 135, 61);
/* oklch */ color: oklch(55.2% 0.140 146.9);
Tailwind
colors: {
  custom: {
    50: '#71ab74',
    500: '#2b873d',
    950: '#000000',
  },
}
SCSS
$custom: #2b873d;
$custom-light: #71ab74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b873d",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 61
  },
  "hsl": {
    "h": 131.739,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55193,
    "c": 0.13959,
    "h": 146.9
  },
  "luminance": 0.18178
}

Semantic roles & 50–950 ramp

primary
#2B873D
secondary
#B25BA1
accent
#4DBFDB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2B873D

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

Preview Lab → · Contrast checker → · Palette generator →

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