#2B7939#2B7939

#2B7939 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.124 H 146.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2B7939
RGBrgb(43, 121, 57)
HSLhsl(131, 48%, 32%)
HSVhsv(131, 64%, 47%)
CMYKcmyk(64.5%, 0%, 52.9%, 52.5%)
CIE-LABlab(44.92, -38.35, 28.03)
CIE-LCHlch(44.92, 47.50, 143.84°)
OKLaboklab(51.22% -0.1036 0.0677)
OKLCHoklch(51.22% 0.124 146.8)
XYZxyz(8.5716, 14.4829, 6.2139)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7939 #792B6B
analogous
#44792B #2B7939 #2B7960
triadic
#2B7939 #392B79 #79392B
tetradic
#2B7939 #2B4479 #792B6B #79602B
square
#2B7939 #2B4479 #792B6B #79602B
split-complementary
#2B7939 #602B79 #792B44
monochromatic
#0B1F0E #1B4C24 #2B7939 #3BA64E #5AC46D

Accessibility & contrast

On white

5.39
#2B7939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2B7939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7939
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7939#FFFFFF#000000##FFFFFF
##2B79391.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E34
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#17766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7939;
/* rgb */ color: rgb(43, 121, 57);
/* oklch */ color: oklch(51.2% 0.124 146.8);
Tailwind
colors: {
  custom: {
    50: '#6ea071',
    500: '#2b7939',
    950: '#000000',
  },
}
SCSS
$custom: #2b7939;
$custom-light: #6ea071;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7939",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 130.769,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51222,
    "c": 0.12381,
    "h": 146.8
  },
  "luminance": 0.14484
}

Semantic roles & 50–950 ramp

primary
#2B7939
secondary
#AA569B
accent
#51BFD7
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2B7939

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

Preview Lab → · Contrast checker → · Palette generator →

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