#2B8941#2B8941

#2B8941 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.139 H 147.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2B8941
RGBrgb(43, 137, 65)
HSLhsl(134, 52%, 35%)
HSVhsv(134, 69%, 54%)
CMYKcmyk(68.6%, 0%, 52.6%, 46.3%)
CIE-LABlab(50.44, -43.47, 30.60)
CIE-LCHlch(50.44, 53.16, 144.86°)
OKLaboklab(55.81% -0.1172 0.0739)
OKLCHoklch(55.81% 0.139 147.8)
XYZxyz(10.8953, 18.7854, 8.0518)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8941 #892B73
analogous
#44892B #2B8941 #2B8970
triadic
#2B8941 #412B89 #89412B
tetradic
#2B8941 #2B4489 #892B73 #89702B
square
#2B8941 #2B4489 #892B73 #89702B
split-complementary
#2B8941 #702B89 #892B44
monochromatic
#0E2C15 #1C5A2B #2B8941 #3AB857 #61CD7A

Accessibility & contrast

On white

4.41
#2B8941 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2B8941 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8941
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8941#FFFFFF#000000##000000
##2B89411.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3B
Deuteranopia (green-blind)
#7F7546
Tritanopia (blue-blind)
#068678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b8941;
/* rgb */ color: rgb(43, 137, 65);
/* oklch */ color: oklch(55.8% 0.139 147.8);
Tailwind
colors: {
  custom: {
    50: '#71ac77',
    500: '#2b8941',
    950: '#000000',
  },
}
SCSS
$custom: #2b8941;
$custom-light: #71ac77;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8941",
  "rgb": {
    "r": 43,
    "g": 137,
    "b": 65
  },
  "hsl": {
    "h": 134.043,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.13858,
    "h": 147.8
  },
  "luminance": 0.18787
}

Semantic roles & 50–950 ramp

primary
#2B8941
secondary
#B35C9F
accent
#4CBADC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2B8941

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

Preview Lab → · Contrast checker → · Palette generator →

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