#2B7731#2B7731

#2B7731 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.129 H 144.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2B7731
RGBrgb(43, 119, 49)
HSLhsl(125, 47%, 32%)
HSVhsv(125, 64%, 47%)
CMYKcmyk(63.9%, 0%, 58.8%, 53.3%)
CIE-LABlab(44.13, -38.72, 31.28)
CIE-LCHlch(44.13, 49.78, 141.07°)
OKLaboklab(50.54% -0.1049 0.0743)
OKLCHoklch(50.54% 0.129 144.7)
XYZxyz(8.1470, 13.9282, 5.1642)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7731 #772B71
analogous
#4B772B #2B7731 #2B7757
triadic
#2B7731 #312B77 #77312B
tetradic
#2B7731 #2B4B77 #772B71 #77572B
square
#2B7731 #2B4B77 #772B71 #77572B
split-complementary
#2B7731 #572B77 #772B4B
monochromatic
#0B1D0C #1B4A1E #2B7731 #3BA444 #59C362

Accessibility & contrast

On white

5.55
#2B7731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B7731
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7731#FFFFFF#000000##FFFFFF
##2B77311.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C2A
Deuteranopia (green-blind)
#706636
Tritanopia (blue-blind)
#1B7467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2b7731;
/* rgb */ color: rgb(43, 119, 49);
/* oklch */ color: oklch(50.5% 0.129 144.7);
Tailwind
colors: {
  custom: {
    50: '#6e9f6b',
    500: '#2b7731',
    950: '#000000',
  },
}
SCSS
$custom: #2b7731;
$custom-light: #6e9f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7731",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 49
  },
  "hsl": {
    "h": 124.737,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50538,
    "c": 0.12856,
    "h": 144.7
  },
  "luminance": 0.13929
}

Semantic roles & 50–950 ramp

primary
#2B7731
secondary
#A955A2
accent
#51CCD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2B7731

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

Preview Lab → · Contrast checker → · Palette generator →

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