#2B7116#2B7116

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

Color values

HEX#2B7116
RGBrgb(43, 113, 22)
HSLhsl(106, 67%, 26%)
HSVhsv(106, 81%, 44%)
CMYKcmyk(61.9%, 0%, 80.5%, 55.7%)
CIE-LABlab(41.82, -39.16, 40.81)
CIE-LCHlch(41.82, 56.56, 133.82°)
OKLaboklab(48.55% -0.1076 0.0912)
OKLCHoklch(48.55% 0.141 139.7)
XYZxyz(7.0459, 12.3811, 2.7774)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7116 #5C1671
analogous
#597116 #2B7116 #16712F
triadic
#2B7116 #162B71 #71162B
tetradic
#2B7116 #165971 #5C1671 #712F16
square
#2B7116 #165971 #5C1671 #712F16
split-complementary
#2B7116 #2F1671 #711659
monochromatic
#0A1A05 #183E0C #2B7116 #3EA420 #53D62C

Accessibility & contrast

On white

6.04
#2B7116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2B7116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7116
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7116#FFFFFF#000000##FFFFFF
##2B71161.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746601
Deuteranopia (green-blind)
#6C6020
Tritanopia (blue-blind)
#226D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b7116;
/* rgb */ color: rgb(43, 113, 22);
/* oklch */ color: oklch(48.5% 0.141 139.7);
Tailwind
colors: {
  custom: {
    50: '#6e9a5b',
    500: '#2b7116',
    950: '#000000',
  },
}
SCSS
$custom: #2b7116;
$custom-light: #6e9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7116",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 106.154,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48548,
    "c": 0.1411,
    "h": 139.7
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#2B7116
secondary
#8E3CA7
accent
#3EEAC2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7116

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

Preview Lab → · Contrast checker → · Palette generator →

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