#2B7239#2B7239

#2B7239 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.3% C 0.114 H 147.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2B7239
RGBrgb(43, 114, 57)
HSLhsl(132, 45%, 31%)
HSVhsv(132, 62%, 45%)
CMYKcmyk(62.3%, 0%, 50%, 55.3%)
CIE-LABlab(42.53, -35.43, 25.05)
CIE-LCHlch(42.53, 43.40, 144.74°)
OKLaboklab(49.25% -0.0958 0.061)
OKLCHoklch(49.25% 0.114 147.5)
XYZxyz(7.7516, 12.8429, 5.9405)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7239 #722B64
analogous
#40722B #2B7239 #2B725C
triadic
#2B7239 #392B72 #72392B
tetradic
#2B7239 #2B4072 #722B64 #725C2B
square
#2B7239 #2B4072 #722B64 #725C2B
split-complementary
#2B7239 #5C2B72 #722B40
monochromatic
#09190D #1A4623 #2B7239 #3C9E4F #58C06C

Accessibility & contrast

On white

5.88
#2B7239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2B7239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7239
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7239#FFFFFF#000000##FFFFFF
##2B72391.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736834
Deuteranopia (green-blind)
#6A623D
Tritanopia (blue-blind)
#1A7065
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7239;
/* rgb */ color: rgb(43, 114, 57);
/* oklch */ color: oklch(49.3% 0.114 147.5);
Tailwind
colors: {
  custom: {
    50: '#6c9b70',
    500: '#2b7239',
    950: '#000000',
  },
}
SCSS
$custom: #2b7239;
$custom-light: #6c9b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7239",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 131.831,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49252,
    "c": 0.11359,
    "h": 147.5
  },
  "luminance": 0.12844
}

Semantic roles & 50–950 ramp

primary
#2B7239
secondary
#A45594
accent
#53BBD5
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2B7239

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

Preview Lab → · Contrast checker → · Palette generator →

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