#2B7732#2B7732

#2B7732 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.6% C 0.128 H 145.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#2B7732
RGBrgb(43, 119, 50)
HSLhsl(126, 47%, 32%)
HSVhsv(126, 64%, 47%)
CMYKcmyk(63.9%, 0%, 58%, 53.3%)
CIE-LABlab(44.14, -38.58, 30.78)
CIE-LCHlch(44.14, 49.36, 141.42°)
OKLaboklab(50.55% -0.1045 0.0733)
OKLCHoklch(50.55% 0.128 145)
XYZxyz(8.1683, 13.9367, 5.2766)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7732 #772B70
analogous
#4A772B #2B7732 #2B7758
triadic
#2B7732 #322B77 #77322B
tetradic
#2B7732 #2B4A77 #772B70 #77582B
square
#2B7732 #2B4A77 #772B70 #77582B
split-complementary
#2B7732 #582B77 #772B4A
monochromatic
#0B1D0C #1B4A1F #2B7732 #3BA445 #59C363

Accessibility & contrast

On white

5.54
#2B7732 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#2B7732 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7732
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7732#FFFFFF#000000##FFFFFF
##2B77321.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C2B
Deuteranopia (green-blind)
#6F6637
Tritanopia (blue-blind)
#1A7468
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2b7732;
/* rgb */ color: rgb(43, 119, 50);
/* oklch */ color: oklch(50.6% 0.128 145.0);
Tailwind
colors: {
  custom: {
    50: '#6e9f6c',
    500: '#2b7732',
    950: '#000000',
  },
}
SCSS
$custom: #2b7732;
$custom-light: #6e9f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7732",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 50
  },
  "hsl": {
    "h": 125.526,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50552,
    "c": 0.12764,
    "h": 145
  },
  "luminance": 0.13938
}

Semantic roles & 50–950 ramp

primary
#2B7732
secondary
#A955A1
accent
#51CAD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2B7732

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

Preview Lab → · Contrast checker → · Palette generator →

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