#2B873F#2B873F

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

Color values

HEX#2B873F
RGBrgb(43, 135, 63)
HSLhsl(133, 52%, 35%)
HSVhsv(133, 68%, 53%)
CMYKcmyk(68.1%, 0%, 53.3%, 47.1%)
CIE-LABlab(49.74, -43.00, 30.78)
CIE-LCHlch(49.74, 52.89, 144.40°)
OKLaboklab(55.22% -0.116 0.0742)
OKLCHoklch(55.22% 0.138 147.4)
XYZxyz(10.5567, 18.1993, 7.6581)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B873F #872B73
analogous
#45872B #2B873F #2B876D
triadic
#2B873F #3F2B87 #873F2B
tetradic
#2B873F #2B4587 #872B73 #876D2B
square
#2B873F #2B4587 #872B73 #876D2B
split-complementary
#2B873F #6D2B87 #872B45
monochromatic
#0D2A14 #1C5929 #2B873F #3AB555 #60CC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B873F#FFFFFF#000000##000000
##2B873F1.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)
#897B39
Deuteranopia (green-blind)
#7D7344
Tritanopia (blue-blind)
#098476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b873f;
/* rgb */ color: rgb(43, 135, 63);
/* oklch */ color: oklch(55.2% 0.138 147.4);
Tailwind
colors: {
  custom: {
    50: '#70ab76',
    500: '#2b873f',
    950: '#000000',
  },
}
SCSS
$custom: #2b873f;
$custom-light: #70ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#2b873f",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 133.043,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55224,
    "c": 0.13772,
    "h": 147.4
  },
  "luminance": 0.182
}

Semantic roles & 50–950 ramp

primary
#2B873F
secondary
#B25B9F
accent
#4DBCDB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2B873F

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

Preview Lab → · Contrast checker → · Palette generator →

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