#2B771E#2B771E

#2B771E is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.144 H 141.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2B771E
RGBrgb(43, 119, 30)
HSLhsl(111, 60%, 29%)
HSVhsv(111, 75%, 47%)
CMYKcmyk(63.9%, 0%, 74.8%, 53.3%)
CIE-LABlab(43.95, -40.85, 39.89)
CIE-LCHlch(43.95, 57.10, 135.68°)
OKLaboklab(50.33% -0.1117 0.0905)
OKLCHoklch(50.33% 0.144 141)
XYZxyz(7.8270, 13.8002, 3.4793)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B771E #6A1E77
analogous
#58771E #2B771E #1E773E
triadic
#2B771E #1E2B77 #771E2B
tetradic
#2B771E #1E5877 #6A1E77 #773E1E
square
#2B771E #1E5877 #6A1E77 #773E1E
split-complementary
#2B771E #3E1E77 #771E58
monochromatic
#091806 #194612 #2B771E #3DA82A #55CF40

Accessibility & contrast

On white

5.58
#2B771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2B771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B771E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B771E#FFFFFF#000000##FFFFFF
##2B771E1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0F
Deuteranopia (green-blind)
#716527
Tritanopia (blue-blind)
#1F7366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2b771e;
/* rgb */ color: rgb(43, 119, 30);
/* oklch */ color: oklch(50.3% 0.144 141.0);
Tailwind
colors: {
  custom: {
    50: '#6f9f60',
    500: '#2b771e',
    950: '#000000',
  },
}
SCSS
$custom: #2b771e;
$custom-light: #6f9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b771e",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 111.236,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50326,
    "c": 0.14376,
    "h": 141
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#2B771E
secondary
#9C46AB
accent
#45E3CC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B771E

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

Preview Lab → · Contrast checker → · Palette generator →

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