#2B771D#2B771D

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

Color values

HEX#2B771D
RGBrgb(43, 119, 29)
HSLhsl(111, 61%, 29%)
HSVhsv(111, 76%, 47%)
CMYKcmyk(63.9%, 0%, 75.6%, 53.3%)
CIE-LABlab(43.94, -40.94, 40.28)
CIE-LCHlch(43.94, 57.43, 135.46°)
OKLaboklab(50.32% -0.112 0.0912)
OKLCHoklch(50.32% 0.144 140.9)
XYZxyz(7.8145, 13.7952, 3.4131)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B771D #691D77
analogous
#58771D #2B771D #1D773C
triadic
#2B771D #1D2B77 #771D2B
tetradic
#2B771D #1D5877 #691D77 #773C1D
square
#2B771D #1D5877 #691D77 #773C1D
split-complementary
#2B771D #3C1D77 #771D58
monochromatic
#091906 #194611 #2B771D #3DA829 #55D03E

Accessibility & contrast

On white

5.59
#2B771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B771D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B771D#FFFFFF#000000##FFFFFF
##2B771D1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0D
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#1F7365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2b771d;
/* rgb */ color: rgb(43, 119, 29);
/* oklch */ color: oklch(50.3% 0.144 140.9);
Tailwind
colors: {
  custom: {
    50: '#6f9f5f',
    500: '#2b771d',
    950: '#000000',
  },
}
SCSS
$custom: #2b771d;
$custom-light: #6f9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b771d",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 110.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50318,
    "c": 0.14442,
    "h": 140.9
  },
  "luminance": 0.13796
}

Semantic roles & 50–950 ramp

primary
#2B771D
secondary
#9B45AB
accent
#44E4CB
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B771D

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

Preview Lab → · Contrast checker → · Palette generator →

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