#2B7836#2B7836

#2B7836 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.125 H 146.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2B7836
RGBrgb(43, 120, 54)
HSLhsl(129, 47%, 32%)
HSVhsv(129, 64%, 47%)
CMYKcmyk(64.2%, 0%, 55%, 52.9%)
CIE-LABlab(44.54, -38.41, 29.16)
CIE-LCHlch(44.54, 48.22, 142.80°)
OKLaboklab(50.89% -0.1039 0.07)
OKLCHoklch(50.89% 0.125 146)
XYZxyz(8.3780, 14.2121, 5.7910)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7836 #782B6D
analogous
#47782B #2B7836 #2B785D
triadic
#2B7836 #362B78 #78362B
tetradic
#2B7836 #2B4778 #782B6D #785D2B
square
#2B7836 #2B4778 #782B6D #785D2B
split-complementary
#2B7836 #5D2B78 #782B47
monochromatic
#0B1E0D #1B4B22 #2B7836 #3BA54A #5AC469

Accessibility & contrast

On white

5.47
#2B7836 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2B7836 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7836
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7836#FFFFFF#000000##FFFFFF
##2B78361.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D30
Deuteranopia (green-blind)
#70673B
Tritanopia (blue-blind)
#187569
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2b7836;
/* rgb */ color: rgb(43, 120, 54);
/* oklch */ color: oklch(50.9% 0.125 146.0);
Tailwind
colors: {
  custom: {
    50: '#6ea06f',
    500: '#2b7836',
    950: '#000000',
  },
}
SCSS
$custom: #2b7836;
$custom-light: #6ea06f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7836",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 54
  },
  "hsl": {
    "h": 128.571,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50893,
    "c": 0.12528,
    "h": 146
  },
  "luminance": 0.14213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B7836

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

Preview Lab → · Contrast checker → · Palette generator →

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