#2B722B#2B722B

#2B722B is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.127 H 143.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2B722B
RGBrgb(43, 114, 43)
HSLhsl(120, 45%, 31%)
HSVhsv(120, 62%, 45%)
CMYKcmyk(62.3%, 0%, 62.3%, 55.3%)
CIE-LABlab(42.34, -37.50, 32.23)
CIE-LCHlch(42.34, 49.44, 139.32°)
OKLaboklab(49.04% -0.1019 0.0758)
OKLCHoklch(49.04% 0.127 143.3)
XYZxyz(7.4492, 12.7219, 4.3481)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B722B #722B72
analogous
#4E722B #2B722B #2B724E
triadic
#2B722B #2B2B72 #722B2B
tetradic
#2B722B #2B4E72 #722B72 #724E2B
square
#2B722B #2B4E72 #722B72 #724E2B
split-complementary
#2B722B #4E2B72 #722B4E
monochromatic
#091909 #1A461A #2B722B #3C9E3C #58C058

Accessibility & contrast

On white

5.92
#2B722B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2B722B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B722B
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B722B#FFFFFF#000000##FFFFFF
##2B722B1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746824
Deuteranopia (green-blind)
#6B6231
Tritanopia (blue-blind)
#1E6F63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b722b;
/* rgb */ color: rgb(43, 114, 43);
/* oklch */ color: oklch(49.0% 0.127 143.3);
Tailwind
colors: {
  custom: {
    50: '#6d9b67',
    500: '#2b722b',
    950: '#000000',
  },
}
SCSS
$custom: #2b722b;
$custom-light: #6d9b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b722b",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4904,
    "c": 0.127,
    "h": 143.3
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#2B722B
secondary
#A455A4
accent
#53D5D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2B722B

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

Preview Lab → · Contrast checker → · Palette generator →

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