#2B7112#2B7112

#2B7112 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.143 H 139.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2B7112
RGBrgb(43, 113, 18)
HSLhsl(104, 73%, 26%)
HSVhsv(104, 84%, 44%)
CMYKcmyk(61.9%, 0%, 84.1%, 55.7%)
CIE-LABlab(41.79, -39.42, 42.13)
CIE-LCHlch(41.79, 57.70, 133.10°)
OKLaboklab(48.52% -0.1086 0.0934)
OKLCHoklch(48.52% 0.143 139.3)
XYZxyz(7.0103, 12.3669, 2.5898)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7112 #581271
analogous
#5A7112 #2B7112 #127129
triadic
#2B7112 #122B71 #71122B
tetradic
#2B7112 #125A71 #581271 #712912
square
#2B7112 #125A71 #581271 #712912
split-complementary
#2B7112 #291271 #71125A
monochromatic
#0A1A04 #173C0A #2B7112 #3FA61A #53DB23

Accessibility & contrast

On white

6.05
#2B7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2B7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7112
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7112#FFFFFF#000000##FFFFFF
##2B71121.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6C601E
Tritanopia (blue-blind)
#236D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b7112;
/* rgb */ color: rgb(43, 113, 18);
/* oklch */ color: oklch(48.5% 0.143 139.3);
Tailwind
colors: {
  custom: {
    50: '#6e9a59',
    500: '#2b7112',
    950: '#000000',
  },
}
SCSS
$custom: #2b7112;
$custom-light: #6e9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7112",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 104.211,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48523,
    "c": 0.1432,
    "h": 139.3
  },
  "luminance": 0.12368
}

Semantic roles & 50–950 ramp

primary
#2B7112
secondary
#8A37A8
accent
#39EFBF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7112

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

Preview Lab → · Contrast checker → · Palette generator →

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