#2B7138#2B7138

#2B7138 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.113 H 147.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2B7138
RGBrgb(43, 113, 56)
HSLhsl(131, 45%, 31%)
HSVhsv(131, 62%, 44%)
CMYKcmyk(61.9%, 0%, 50.4%, 55.7%)
CIE-LABlab(42.17, -35.18, 25.15)
CIE-LCHlch(42.17, 43.24, 144.43°)
OKLaboklab(48.95% -0.0951 0.0612)
OKLCHoklch(48.95% 0.113 147.2)
XYZxyz(7.6147, 12.6087, 5.7730)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7138 #712B64
analogous
#41712B #2B7138 #2B715B
triadic
#2B7138 #382B71 #71382B
tetradic
#2B7138 #2B4171 #712B64 #715B2B
square
#2B7138 #2B4171 #712B64 #715B2B
split-complementary
#2B7138 #5B2B71 #712B41
monochromatic
#09180C #1A4522 #2B7138 #3C9D4E #57BF6B

Accessibility & contrast

On white

5.96
#2B7138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2B7138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7138
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7138#FFFFFF#000000##FFFFFF
##2B71381.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726733
Deuteranopia (green-blind)
#69613C
Tritanopia (blue-blind)
#1A6F64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b7138;
/* rgb */ color: rgb(43, 113, 56);
/* oklch */ color: oklch(49.0% 0.113 147.2);
Tailwind
colors: {
  custom: {
    50: '#6c9a70',
    500: '#2b7138',
    950: '#000000',
  },
}
SCSS
$custom: #2b7138;
$custom-light: #6c9a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7138",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 131.143,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48952,
    "c": 0.11311,
    "h": 147.2
  },
  "luminance": 0.12609
}

Semantic roles & 50–950 ramp

primary
#2B7138
secondary
#A35594
accent
#53BDD5
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2B7138

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

Preview Lab → · Contrast checker → · Palette generator →

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