#2B7140#2B7140

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

Color values

HEX#2B7140
RGBrgb(43, 113, 64)
HSLhsl(138, 45%, 31%)
HSVhsv(138, 62%, 44%)
CMYKcmyk(61.9%, 0%, 43.4%, 55.7%)
CIE-LABlab(42.30, -33.76, 20.83)
CIE-LCHlch(42.30, 39.66, 148.33°)
OKLaboklab(49.1% -0.0913 0.0516)
OKLCHoklch(49.1% 0.105 150.6)
XYZxyz(7.8262, 12.6933, 6.8871)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7140 #712B5C
analogous
#39712B #2B7140 #2B7163
triadic
#2B7140 #402B71 #71402B
tetradic
#2B7140 #2B3971 #712B5C #71632B
square
#2B7140 #2B3971 #712B5C #71632B
split-complementary
#2B7140 #632B71 #712B39
monochromatic
#09180E #1A4527 #2B7140 #3C9D59 #57BF76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7140#FFFFFF#000000##FFFFFF
##2B71401.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)
#72683C
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#176F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7140;
/* rgb */ color: rgb(43, 113, 64);
/* oklch */ color: oklch(49.1% 0.105 150.6);
Tailwind
colors: {
  custom: {
    50: '#6c9a75',
    500: '#2b7140',
    950: '#000000',
  },
}
SCSS
$custom: #2b7140;
$custom-light: #6c9a75;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7140",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 64
  },
  "hsl": {
    "h": 138,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.10487,
    "h": 150.6
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#2B7140
secondary
#A3558B
accent
#53AED5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2B7140

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

Preview Lab → · Contrast checker → · Palette generator →

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