#2B7115#2B7115

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

Color values

HEX#2B7115
RGBrgb(43, 113, 21)
HSLhsl(106, 69%, 26%)
HSVhsv(106, 81%, 44%)
CMYKcmyk(61.9%, 0%, 81.4%, 55.7%)
CIE-LABlab(41.81, -39.23, 41.15)
CIE-LCHlch(41.81, 56.86, 133.63°)
OKLaboklab(48.54% -0.1079 0.0918)
OKLCHoklch(48.54% 0.142 139.6)
XYZxyz(7.0364, 12.3774, 2.7276)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7115 #5B1571
analogous
#597115 #2B7115 #15712D
triadic
#2B7115 #152B71 #71152B
tetradic
#2B7115 #155971 #5B1571 #712D15
square
#2B7115 #155971 #5B1571 #712D15
split-complementary
#2B7115 #2D1571 #711559
monochromatic
#0A1A05 #173D0B #2B7115 #3FA51F #53D729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7115#FFFFFF#000000##FFFFFF
##2B71151.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)
#746600
Deuteranopia (green-blind)
#6C6020
Tritanopia (blue-blind)
#226D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b7115;
/* rgb */ color: rgb(43, 113, 21);
/* oklch */ color: oklch(48.5% 0.142 139.6);
Tailwind
colors: {
  custom: {
    50: '#6e9a5b',
    500: '#2b7115',
    950: '#000000',
  },
}
SCSS
$custom: #2b7115;
$custom-light: #6e9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7115",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 105.652,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48542,
    "c": 0.14165,
    "h": 139.6
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#2B7115
secondary
#8D3BA7
accent
#3CEBC2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7115

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

Preview Lab → · Contrast checker → · Palette generator →

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