#2B842E#2B842E

#2B842E is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.149 H 143.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2B842E
RGBrgb(43, 132, 46)
HSLhsl(122, 51%, 34%)
HSVhsv(122, 67%, 52%)
CMYKcmyk(67.4%, 0%, 65.2%, 48.2%)
CIE-LABlab(48.53, -44.15, 37.80)
CIE-LCHlch(48.53, 58.12, 139.43°)
OKLaboklab(54.16% -0.1197 0.0881)
OKLCHoklch(54.16% 0.149 143.7)
XYZxyz(9.7401, 17.2124, 5.3933)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B842E #842B81
analogous
#55842B #2B842E #2B845B
triadic
#2B842E #2E2B84 #842E2B
tetradic
#2B842E #2B5584 #842B81 #845B2B
square
#2B842E #2B5584 #842B81 #845B2B
split-complementary
#2B842E #5B2B84 #842B55
monochromatic
#0D280E #1C561E #2B842E #3AB23E #5FCB62

Accessibility & contrast

On white

4.73
#2B842E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2B842E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B842E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B842E#FFFFFF#000000##FFFFFF
##2B842E1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#7C7035
Tritanopia (blue-blind)
#158072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b842e;
/* rgb */ color: rgb(43, 132, 46);
/* oklch */ color: oklch(54.2% 0.149 143.7);
Tailwind
colors: {
  custom: {
    50: '#71a96a',
    500: '#2b842e',
    950: '#000000',
  },
}
SCSS
$custom: #2b842e;
$custom-light: #71a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b842e",
  "rgb": {
    "r": 43,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 122.022,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.14865,
    "h": 143.7
  },
  "luminance": 0.17213
}

Semantic roles & 50–950 ramp

primary
#2B842E
secondary
#B15AAE
accent
#4DD6DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2B842E

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

Preview Lab → · Contrast checker → · Palette generator →

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