#2B712B#2B712B

#2B712B is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.126 H 143.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2B712B
RGBrgb(43, 113, 43)
HSLhsl(120, 45%, 31%)
HSVhsv(120, 62%, 44%)
CMYKcmyk(61.9%, 0%, 61.9%, 55.7%)
CIE-LABlab(42.00, -37.09, 31.83)
CIE-LCHlch(42.00, 48.87, 139.37°)
OKLaboklab(48.76% -0.1008 0.075)
OKLCHoklch(48.76% 0.126 143.3)
XYZxyz(7.3370, 12.4976, 4.3107)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B712B #712B71
analogous
#4E712B #2B712B #2B714E
triadic
#2B712B #2B2B71 #712B2B
tetradic
#2B712B #2B4E71 #712B71 #714E2B
square
#2B712B #2B4E71 #712B71 #714E2B
split-complementary
#2B712B #4E2B71 #712B4E
monochromatic
#091809 #1A451A #2B712B #3C9D3C #57BF57

Accessibility & contrast

On white

6.00
#2B712B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2B712B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B712B
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B712B#FFFFFF#000000##FFFFFF
##2B712B1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736724
Deuteranopia (green-blind)
#6A6131
Tritanopia (blue-blind)
#1E6E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b712b;
/* rgb */ color: rgb(43, 113, 43);
/* oklch */ color: oklch(48.8% 0.126 143.3);
Tailwind
colors: {
  custom: {
    50: '#6d9a67',
    500: '#2b712b',
    950: '#000000',
  },
}
SCSS
$custom: #2b712b;
$custom-light: #6d9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b712b",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48756,
    "c": 0.1256,
    "h": 143.3
  },
  "luminance": 0.12498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B712B

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

Preview Lab → · Contrast checker → · Palette generator →

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