#2B7119#2B7119

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

Color values

HEX#2B7119
RGBrgb(43, 113, 25)
HSLhsl(108, 64%, 27%)
HSVhsv(108, 78%, 44%)
CMYKcmyk(61.9%, 0%, 77.9%, 55.7%)
CIE-LABlab(41.83, -38.94, 39.72)
CIE-LCHlch(41.83, 55.63, 134.43°)
OKLaboklab(48.57% -0.1069 0.0894)
OKLCHoklch(48.57% 0.139 140.1)
XYZxyz(7.0765, 12.3934, 2.9388)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7119 #5F1971
analogous
#577119 #2B7119 #197133
triadic
#2B7119 #192B71 #71192B
tetradic
#2B7119 #195771 #5F1971 #713319
square
#2B7119 #195771 #5F1971 #713319
split-complementary
#2B7119 #331971 #711957
monochromatic
#0A1906 #183F0E #2B7119 #3EA324 #53D233

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7119#FFFFFF#000000##FFFFFF
##2B71191.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)
#746607
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#226D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b7119;
/* rgb */ color: rgb(43, 113, 25);
/* oklch */ color: oklch(48.6% 0.139 140.1);
Tailwind
colors: {
  custom: {
    50: '#6e9a5c',
    500: '#2b7119',
    950: '#000000',
  },
}
SCSS
$custom: #2b7119;
$custom-light: #6e9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7119",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 107.727,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.4857,
    "c": 0.13935,
    "h": 140.1
  },
  "luminance": 0.12394
}

Semantic roles & 50–950 ramp

primary
#2B7119
secondary
#9140A6
accent
#41E7C5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2B7119

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

Preview Lab → · Contrast checker → · Palette generator →

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