#2B772B#2B772B

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

Color values

HEX#2B772B
RGBrgb(43, 119, 43)
HSLhsl(120, 47%, 32%)
HSVhsv(120, 64%, 47%)
CMYKcmyk(63.9%, 0%, 63.9%, 53.3%)
CIE-LABlab(44.06, -39.50, 34.20)
CIE-LCHlch(44.06, 52.25, 139.12°)
OKLaboklab(50.46% -0.1073 0.0801)
OKLCHoklch(50.46% 0.134 143.3)
XYZxyz(8.0287, 13.8809, 4.5412)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B772B #772B77
analogous
#51772B #2B772B #2B7751
triadic
#2B772B #2B2B77 #772B2B
tetradic
#2B772B #2B5177 #772B77 #77512B
square
#2B772B #2B5177 #772B77 #77512B
split-complementary
#2B772B #512B77 #772B51
monochromatic
#0B1D0B #1B4A1B #2B772B #3BA43B #59C359

Accessibility & contrast

On white

5.56
#2B772B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2B772B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B772B
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B772B#FFFFFF#000000##FFFFFF
##2B772B1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C23
Deuteranopia (green-blind)
#706631
Tritanopia (blue-blind)
#1C7467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2b772b;
/* rgb */ color: rgb(43, 119, 43);
/* oklch */ color: oklch(50.5% 0.134 143.3);
Tailwind
colors: {
  custom: {
    50: '#6e9f67',
    500: '#2b772b',
    950: '#000000',
  },
}
SCSS
$custom: #2b772b;
$custom-light: #6e9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b772b",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5046,
    "c": 0.13389,
    "h": 143.3
  },
  "luminance": 0.13882
}

Semantic roles & 50–950 ramp

primary
#2B772B
secondary
#A955A9
accent
#51D7D7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2B772B

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

Preview Lab → · Contrast checker → · Palette generator →

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