#2B7941#2B7941

#2B7941 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.116 H 149.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2B7941
RGBrgb(43, 121, 65)
HSLhsl(137, 48%, 32%)
HSVhsv(137, 64%, 47%)
CMYKcmyk(64.5%, 0%, 46.3%, 52.5%)
CIE-LABlab(45.04, -37.01, 23.81)
CIE-LCHlch(45.04, 44.01, 147.25°)
OKLaboklab(51.36% -0.1 0.0585)
OKLCHoklch(51.36% 0.116 149.7)
XYZxyz(8.7871, 14.5691, 7.3490)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7941 #792B63
analogous
#3C792B #2B7941 #2B7968
triadic
#2B7941 #412B79 #79412B
tetradic
#2B7941 #2B3C79 #792B63 #79682B
square
#2B7941 #2B3C79 #792B63 #79682B
split-complementary
#2B7941 #682B79 #792B3C
monochromatic
#0B1F10 #1B4C29 #2B7941 #3BA659 #5AC478

Accessibility & contrast

On white

5.37
#2B7941 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2B7941 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7941
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7941#FFFFFF#000000##FFFFFF
##2B79411.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3D
Deuteranopia (green-blind)
#706845
Tritanopia (blue-blind)
#12776B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7941;
/* rgb */ color: rgb(43, 121, 65);
/* oklch */ color: oklch(51.4% 0.116 149.7);
Tailwind
colors: {
  custom: {
    50: '#6da076',
    500: '#2b7941',
    950: '#000000',
  },
}
SCSS
$custom: #2b7941;
$custom-light: #6da076;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7941",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 65
  },
  "hsl": {
    "h": 136.923,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.11583,
    "h": 149.7
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B7941

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

Preview Lab → · Contrast checker → · Palette generator →

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