#2B7642#2B7642

#2B7642 is a mid, moderate green. Relative luminance 0.139; OKLCH L 50.5% C 0.110 H 150.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2B7642
RGBrgb(43, 118, 66)
HSLhsl(138, 47%, 32%)
HSVhsv(138, 64%, 46%)
CMYKcmyk(63.6%, 0%, 44.1%, 53.7%)
CIE-LABlab(44.04, -35.55, 21.95)
CIE-LCHlch(44.04, 41.79, 148.31°)
OKLaboklab(50.54% -0.0961 0.0543)
OKLCHoklch(50.54% 0.11 150.5)
XYZxyz(8.4574, 13.8630, 7.3833)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7642 #762B5F
analogous
#3A762B #2B7642 #2B7668
triadic
#2B7642 #422B76 #76422B
tetradic
#2B7642 #2B3A76 #762B5F #76682B
square
#2B7642 #2B3A76 #762B5F #76682B
split-complementary
#2B7642 #682B76 #762B3A
monochromatic
#0A1C10 #1B4929 #2B7642 #3BA35B #59C279

Accessibility & contrast

On white

5.57
#2B7642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2B7642 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7642
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7642#FFFFFF#000000##FFFFFF
##2B76421.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776C3E
Deuteranopia (green-blind)
#6D6545
Tritanopia (blue-blind)
#137469
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2b7642;
/* rgb */ color: rgb(43, 118, 66);
/* oklch */ color: oklch(50.5% 0.110 150.5);
Tailwind
colors: {
  custom: {
    50: '#6d9e77',
    500: '#2b7642',
    950: '#000000',
  },
}
SCSS
$custom: #2b7642;
$custom-light: #6d9e77;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7642",
  "rgb": {
    "r": 43,
    "g": 118,
    "b": 66
  },
  "hsl": {
    "h": 138.4,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50541,
    "c": 0.11035,
    "h": 150.5
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#2B7642
secondary
#A8558E
accent
#52AED6
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2B7642

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

Preview Lab → · Contrast checker → · Palette generator →

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