#2B7142#2B7142

#2B7142 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.1% C 0.103 H 151.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2B7142
RGBrgb(43, 113, 66)
HSLhsl(140, 45%, 31%)
HSVhsv(140, 62%, 44%)
CMYKcmyk(61.9%, 0%, 41.6%, 55.7%)
CIE-LABlab(42.33, -33.37, 19.73)
CIE-LCHlch(42.33, 38.77, 149.41°)
OKLaboklab(49.14% -0.0903 0.049)
OKLCHoklch(49.14% 0.103 151.5)
XYZxyz(7.8842, 12.7164, 7.1922)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7142 #712B5A
analogous
#37712B #2B7142 #2B7165
triadic
#2B7142 #422B71 #71422B
tetradic
#2B7142 #2B3771 #712B5A #71652B
square
#2B7142 #2B3771 #712B5A #71652B
split-complementary
#2B7142 #652B71 #712B37
monochromatic
#09180E #1A4528 #2B7142 #3C9D5C #57BF79

Accessibility & contrast

On white

5.93
#2B7142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2B7142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7142
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7142#FFFFFF#000000##FFFFFF
##2B71421.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71683F
Deuteranopia (green-blind)
#686145
Tritanopia (blue-blind)
#166F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7142;
/* rgb */ color: rgb(43, 113, 66);
/* oklch */ color: oklch(49.1% 0.103 151.5);
Tailwind
colors: {
  custom: {
    50: '#6c9a77',
    500: '#2b7142',
    950: '#000000',
  },
}
SCSS
$custom: #2b7142;
$custom-light: #6c9a77;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7142",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 139.714,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49142,
    "c": 0.10278,
    "h": 151.5
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#2B7142
secondary
#A35589
accent
#53AAD5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2B7142

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

Preview Lab → · Contrast checker → · Palette generator →

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