#2B7A41#2B7A41

#2B7A41 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.6% C 0.117 H 149.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2B7A41
RGBrgb(43, 122, 65)
HSLhsl(137, 48%, 32%)
HSVhsv(137, 65%, 48%)
CMYKcmyk(64.8%, 0%, 46.7%, 52.2%)
CIE-LABlab(45.38, -37.43, 24.24)
CIE-LCHlch(45.38, 44.59, 147.07°)
OKLaboklab(51.64% -0.1011 0.0595)
OKLCHoklch(51.64% 0.117 149.5)
XYZxyz(8.9093, 14.8134, 7.3898)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A41 #7A2B64
analogous
#3C7A2B #2B7A41 #2B7A69
triadic
#2B7A41 #412B7A #7A412B
tetradic
#2B7A41 #2B3C7A #7A2B64 #7A692B
square
#2B7A41 #2B3C7A #7A2B64 #7A692B
split-complementary
#2B7A41 #692B7A #7A2B3C
monochromatic
#0B1F11 #1B4D29 #2B7A41 #3BA759 #5AC578

Accessibility & contrast

On white

5.30
#2B7A41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2B7A41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7A41
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7A41#FFFFFF#000000##FFFFFF
##2B7A411.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703D
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#12786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7a41;
/* rgb */ color: rgb(43, 122, 65);
/* oklch */ color: oklch(51.6% 0.117 149.5);
Tailwind
colors: {
  custom: {
    50: '#6ea176',
    500: '#2b7a41',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a41;
$custom-light: #6ea176;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a41",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 65
  },
  "hsl": {
    "h": 136.709,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.1173,
    "h": 149.5
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#2B7A41
secondary
#AB5693
accent
#50B2D7
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #2B7A41

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

Preview Lab → · Contrast checker → · Palette generator →

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