#2B712A#2B712A

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

Color values

HEX#2B712A
RGBrgb(43, 113, 42)
HSLhsl(119, 46%, 30%)
HSVhsv(119, 63%, 44%)
CMYKcmyk(61.9%, 0%, 62.8%, 55.7%)
CIE-LABlab(41.98, -37.22, 32.32)
CIE-LCHlch(41.98, 49.29, 139.03°)
OKLaboklab(48.74% -0.1012 0.0759)
OKLCHoklch(48.74% 0.127 143.1)
XYZxyz(7.3189, 12.4903, 4.2152)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B712A #702A71
analogous
#4E712A #2B712A #2A714C
triadic
#2B712A #2A2B71 #712A2B
tetradic
#2B712A #2A4E71 #702A71 #714C2A
square
#2B712A #2A4E71 #702A71 #714C2A
split-complementary
#2B712A #4C2A71 #712A4E
monochromatic
#091809 #1A4419 #2B712A #3C9E3B #57C055

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B712A#FFFFFF#000000##FFFFFF
##2B712A1.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)
#736722
Deuteranopia (green-blind)
#6B6130
Tritanopia (blue-blind)
#1F6E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b712a;
/* rgb */ color: rgb(43, 113, 42);
/* oklch */ color: oklch(48.7% 0.127 143.1);
Tailwind
colors: {
  custom: {
    50: '#6d9a66',
    500: '#2b712a',
    950: '#000000',
  },
}
SCSS
$custom: #2b712a;
$custom-light: #6d9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2b712a",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 119.155,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48743,
    "c": 0.1265,
    "h": 143.1
  },
  "luminance": 0.12491
}

Semantic roles & 50–950 ramp

primary
#2B712A
secondary
#A254A3
accent
#52D5D4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2B712A

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

Preview Lab → · Contrast checker → · Palette generator →

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