#2B862C#2B862C

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

Color values

HEX#2B862C
RGBrgb(43, 134, 44)
HSLhsl(121, 51%, 35%)
HSVhsv(121, 68%, 53%)
CMYKcmyk(67.9%, 0%, 67.2%, 47.5%)
CIE-LABlab(49.18, -45.12, 39.45)
CIE-LCHlch(49.18, 59.93, 138.84°)
OKLaboklab(54.7% -0.1225 0.0914)
OKLCHoklch(54.7% 0.153 143.3)
XYZxyz(9.9754, 17.7446, 5.2817)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B862C #862B85
analogous
#58862B #2B862C #2B8659
triadic
#2B862C #2C2B86 #862C2B
tetradic
#2B862C #2B5886 #862B85 #86592B
square
#2B862C #2B5886 #862B85 #86592B
split-complementary
#2B862C #592B86 #862B58
monochromatic
#0D290E #1C581D #2B862C #3AB43B #60CC61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B862C#FFFFFF#000000##FFFFFF
##2B862C1.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)
#897921
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#158273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b862c;
/* rgb */ color: rgb(43, 134, 44);
/* oklch */ color: oklch(54.7% 0.153 143.3);
Tailwind
colors: {
  custom: {
    50: '#71aa69',
    500: '#2b862c',
    950: '#000000',
  },
}
SCSS
$custom: #2b862c;
$custom-light: #71aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b862c",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 120.659,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54698,
    "c": 0.15279,
    "h": 143.3
  },
  "luminance": 0.17746
}

Semantic roles & 50–950 ramp

primary
#2B862C
secondary
#B25BB1
accent
#4DD9DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2B862C

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

Preview Lab → · Contrast checker → · Palette generator →

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