#2B7336#2B7336

#2B7336 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.5% C 0.118 H 146.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2B7336
RGBrgb(43, 115, 54)
HSLhsl(129, 46%, 31%)
HSVhsv(129, 63%, 45%)
CMYKcmyk(62.6%, 0%, 53%, 54.9%)
CIE-LABlab(42.82, -36.34, 27.06)
CIE-LCHlch(42.82, 45.31, 143.33°)
OKLaboklab(49.48% -0.0983 0.0654)
OKLCHoklch(49.48% 0.118 146.4)
XYZxyz(7.7923, 13.0407, 5.5958)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7336 #732B68
analogous
#44732B #2B7336 #2B735A
triadic
#2B7336 #362B73 #73362B
tetradic
#2B7336 #2B4473 #732B68 #735A2B
square
#2B7336 #2B4473 #732B68 #735A2B
split-complementary
#2B7336 #5A2B73 #732B44
monochromatic
#0A1A0C #1A4621 #2B7336 #3CA04B #58C168

Accessibility & contrast

On white

5.82
#2B7336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2B7336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7336
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7336#FFFFFF#000000##FFFFFF
##2B73361.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756931
Deuteranopia (green-blind)
#6B633A
Tritanopia (blue-blind)
#1A7065
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b7336;
/* rgb */ color: rgb(43, 115, 54);
/* oklch */ color: oklch(49.5% 0.118 146.4);
Tailwind
colors: {
  custom: {
    50: '#6d9c6e',
    500: '#2b7336',
    950: '#000000',
  },
}
SCSS
$custom: #2b7336;
$custom-light: #6d9c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7336",
  "rgb": {
    "r": 43,
    "g": 115,
    "b": 54
  },
  "hsl": {
    "h": 129.167,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49483,
    "c": 0.11807,
    "h": 146.4
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#2B7336
secondary
#A55599
accent
#53C1D5
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2B7336

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

Preview Lab → · Contrast checker → · Palette generator →

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