#2B7340#2B7340

#2B7340 is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.7% C 0.108 H 150.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2B7340
RGBrgb(43, 115, 64)
HSLhsl(138, 46%, 31%)
HSVhsv(138, 63%, 45%)
CMYKcmyk(62.6%, 0%, 44.3%, 54.9%)
CIE-LABlab(42.98, -34.63, 21.71)
CIE-LCHlch(42.98, 40.87, 147.91°)
OKLaboklab(49.66% -0.0936 0.0536)
OKLCHoklch(49.66% 0.108 150.2)
XYZxyz(8.0518, 13.1445, 6.9623)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7340 #732B5E
analogous
#3A732B #2B7340 #2B7364
triadic
#2B7340 #402B73 #73402B
tetradic
#2B7340 #2B3A73 #732B5E #73642B
square
#2B7340 #2B3A73 #732B5E #73642B
split-complementary
#2B7340 #642B73 #732B3A
monochromatic
#0A1A0E #1A4627 #2B7340 #3CA059 #58C176

Accessibility & contrast

On white

5.79
#2B7340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2B7340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7340
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7340#FFFFFF#000000##FFFFFF
##2B73401.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74693C
Deuteranopia (green-blind)
#6A6343
Tritanopia (blue-blind)
#167166
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b7340;
/* rgb */ color: rgb(43, 115, 64);
/* oklch */ color: oklch(49.7% 0.108 150.2);
Tailwind
colors: {
  custom: {
    50: '#6c9c75',
    500: '#2b7340',
    950: '#000000',
  },
}
SCSS
$custom: #2b7340;
$custom-light: #6c9c75;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7340",
  "rgb": {
    "r": 43,
    "g": 115,
    "b": 64
  },
  "hsl": {
    "h": 137.5,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49662,
    "c": 0.1079,
    "h": 150.2
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#2B7340
secondary
#A5558D
accent
#53AFD5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2B7340

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

Preview Lab → · Contrast checker → · Palette generator →

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