#2B7114#2B7114

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

Color values

HEX#2B7114
RGBrgb(43, 113, 20)
HSLhsl(105, 70%, 26%)
HSVhsv(105, 82%, 44%)
CMYKcmyk(61.9%, 0%, 82.3%, 55.7%)
CIE-LABlab(41.80, -39.30, 41.49)
CIE-LCHlch(41.80, 57.15, 133.45°)
OKLaboklab(48.54% -0.1081 0.0923)
OKLCHoklch(48.54% 0.142 139.5)
XYZxyz(7.0274, 12.3737, 2.6797)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7114 #5A1471
analogous
#597114 #2B7114 #14712B
triadic
#2B7114 #142B71 #71142B
tetradic
#2B7114 #145971 #5A1471 #712B14
square
#2B7114 #145971 #5A1471 #712B14
split-complementary
#2B7114 #2B1471 #711459
monochromatic
#0A1A05 #173D0B #2B7114 #3FA51D #53D927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7114#FFFFFF#000000##FFFFFF
##2B71141.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b7114;
/* rgb */ color: rgb(43, 113, 20);
/* oklch */ color: oklch(48.5% 0.142 139.5);
Tailwind
colors: {
  custom: {
    50: '#6e9a5a',
    500: '#2b7114',
    950: '#000000',
  },
}
SCSS
$custom: #2b7114;
$custom-light: #6e9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7114",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 20
  },
  "hsl": {
    "h": 105.161,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48535,
    "c": 0.14219,
    "h": 139.5
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#2B7114
secondary
#8C39A7
accent
#3BEDC1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7114

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

Preview Lab → · Contrast checker → · Palette generator →

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