#2B772F#2B772F

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

Color values

HEX#2B772F
RGBrgb(43, 119, 47)
HSLhsl(123, 47%, 32%)
HSVhsv(123, 64%, 47%)
CMYKcmyk(63.9%, 0%, 60.5%, 53.3%)
CIE-LABlab(44.11, -38.99, 32.27)
CIE-LCHlch(44.11, 50.61, 140.39°)
OKLaboklab(50.51% -0.1057 0.0763)
OKLCHoklch(50.51% 0.13 144.2)
XYZxyz(8.1057, 13.9117, 4.9468)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B772F #772B73
analogous
#4D772B #2B772F #2B7755
triadic
#2B772F #2F2B77 #772F2B
tetradic
#2B772F #2B4D77 #772B73 #77552B
square
#2B772F #2B4D77 #772B73 #77552B
split-complementary
#2B772F #552B77 #772B4D
monochromatic
#0B1D0B #1B4A1D #2B772F #3BA441 #59C35F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B772F#FFFFFF#000000##FFFFFF
##2B772F1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b772f;
/* rgb */ color: rgb(43, 119, 47);
/* oklch */ color: oklch(50.5% 0.130 144.2);
Tailwind
colors: {
  custom: {
    50: '#6e9f6a',
    500: '#2b772f',
    950: '#000000',
  },
}
SCSS
$custom: #2b772f;
$custom-light: #6e9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b772f",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 123.158,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50511,
    "c": 0.13038,
    "h": 144.2
  },
  "luminance": 0.13912
}

Semantic roles & 50–950 ramp

primary
#2B772F
secondary
#A955A4
accent
#51D0D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2B772F

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

Preview Lab → · Contrast checker → · Palette generator →

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