#2B712D#2B712D

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

Color values

HEX#2B712D
RGBrgb(43, 113, 45)
HSLhsl(122, 45%, 31%)
HSVhsv(122, 62%, 44%)
CMYKcmyk(61.9%, 0%, 60.2%, 55.7%)
CIE-LABlab(42.02, -36.83, 30.84)
CIE-LCHlch(42.02, 48.04, 140.06°)
OKLaboklab(48.78% -0.1 0.073)
OKLCHoklch(48.78% 0.124 143.8)
XYZxyz(7.3746, 12.5126, 4.5087)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B712D #712B6F
analogous
#4C712B #2B712D #2B7150
triadic
#2B712D #2D2B71 #712D2B
tetradic
#2B712D #2B4C71 #712B6F #71502B
square
#2B712D #2B4C71 #712B6F #71502B
split-complementary
#2B712D #502B71 #712B4C
monochromatic
#09180A #1A451B #2B712D #3C9D3F #57BF5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B712D#FFFFFF#000000##FFFFFF
##2B712D1.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)
#736726
Deuteranopia (green-blind)
#6A6132
Tritanopia (blue-blind)
#1E6E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b712d;
/* rgb */ color: rgb(43, 113, 45);
/* oklch */ color: oklch(48.8% 0.124 143.8);
Tailwind
colors: {
  custom: {
    50: '#6d9a68',
    500: '#2b712d',
    950: '#000000',
  },
}
SCSS
$custom: #2b712d;
$custom-light: #6d9a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2b712d",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 121.714,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48782,
    "c": 0.1238,
    "h": 143.8
  },
  "luminance": 0.12513
}

Semantic roles & 50–950 ramp

primary
#2B712D
secondary
#A355A1
accent
#53D1D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2B712D

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

Preview Lab → · Contrast checker → · Palette generator →

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