#2B7936#2B7936

#2B7936 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.127 H 145.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2B7936
RGBrgb(43, 121, 54)
HSLhsl(128, 48%, 32%)
HSVhsv(128, 64%, 47%)
CMYKcmyk(64.5%, 0%, 55.4%, 52.5%)
CIE-LABlab(44.88, -38.81, 29.57)
CIE-LCHlch(44.88, 48.80, 142.70°)
OKLaboklab(51.18% -0.105 0.071)
OKLCHoklch(51.18% 0.127 145.9)
XYZxyz(8.4989, 14.4538, 5.8313)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7936 #792B6E
analogous
#47792B #2B7936 #2B795D
triadic
#2B7936 #362B79 #79362B
tetradic
#2B7936 #2B4779 #792B6E #795D2B
square
#2B7936 #2B4779 #792B6E #795D2B
split-complementary
#2B7936 #5D2B79 #792B47
monochromatic
#0B1F0E #1B4C22 #2B7936 #3BA64A #5AC469

Accessibility & contrast

On white

5.40
#2B7936 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2B7936 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7936
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7936#FFFFFF#000000##FFFFFF
##2B79361.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E30
Deuteranopia (green-blind)
#71683B
Tritanopia (blue-blind)
#18766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7936;
/* rgb */ color: rgb(43, 121, 54);
/* oklch */ color: oklch(51.2% 0.127 145.9);
Tailwind
colors: {
  custom: {
    50: '#6ea06f',
    500: '#2b7936',
    950: '#000000',
  },
}
SCSS
$custom: #2b7936;
$custom-light: #6ea06f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7936",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 54
  },
  "hsl": {
    "h": 128.462,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51175,
    "c": 0.1267,
    "h": 145.9
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#2B7936
secondary
#AA569E
accent
#51C4D7
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2B7936

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

Preview Lab → · Contrast checker → · Palette generator →

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