#2B7841#2B7841

#2B7841 is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.1% C 0.114 H 149.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2B7841
RGBrgb(43, 120, 65)
HSLhsl(137, 47%, 32%)
HSVhsv(137, 64%, 47%)
CMYKcmyk(64.2%, 0%, 45.8%, 52.9%)
CIE-LABlab(44.70, -36.59, 23.37)
CIE-LCHlch(44.70, 43.42, 147.43°)
OKLaboklab(51.08% -0.0988 0.0575)
OKLCHoklch(51.08% 0.114 149.8)
XYZxyz(8.6662, 14.3273, 7.3087)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7841 #782B62
analogous
#3C782B #2B7841 #2B7868
triadic
#2B7841 #412B78 #78412B
tetradic
#2B7841 #2B3C78 #782B62 #78682B
square
#2B7841 #2B3C78 #782B62 #78682B
split-complementary
#2B7841 #682B78 #782B3C
monochromatic
#0B1E10 #1B4B29 #2B7841 #3BA559 #5AC478

Accessibility & contrast

On white

5.43
#2B7841 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2B7841 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7841
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7841#FFFFFF#000000##FFFFFF
##2B78411.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3D
Deuteranopia (green-blind)
#6F6745
Tritanopia (blue-blind)
#13766B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7841;
/* rgb */ color: rgb(43, 120, 65);
/* oklch */ color: oklch(51.1% 0.114 149.8);
Tailwind
colors: {
  custom: {
    50: '#6da076',
    500: '#2b7841',
    950: '#000000',
  },
}
SCSS
$custom: #2b7841;
$custom-light: #6da076;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7841",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 65
  },
  "hsl": {
    "h": 137.143,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.11435,
    "h": 149.8
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#2B7841
secondary
#AA5591
accent
#51B1D7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2B7841

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

Preview Lab → · Contrast checker → · Palette generator →

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