#2B7937#2B7937

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

Color values

HEX#2B7937
RGBrgb(43, 121, 55)
HSLhsl(129, 48%, 32%)
HSVhsv(129, 64%, 47%)
CMYKcmyk(64.5%, 0%, 54.5%, 52.5%)
CIE-LABlab(44.89, -38.66, 29.06)
CIE-LCHlch(44.89, 48.37, 143.07°)
OKLaboklab(51.19% -0.1045 0.0699)
OKLCHoklch(51.19% 0.126 146.2)
XYZxyz(8.5227, 14.4633, 5.9563)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7937 #792B6D
analogous
#46792B #2B7937 #2B795E
triadic
#2B7937 #372B79 #79372B
tetradic
#2B7937 #2B4679 #792B6D #795E2B
square
#2B7937 #2B4679 #792B6D #795E2B
split-complementary
#2B7937 #5E2B79 #792B46
monochromatic
#0B1F0E #1B4C22 #2B7937 #3BA64C #5AC46A

Accessibility & contrast

On white

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

On black

3.89
#2B7937 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B7937#FFFFFF#000000##FFFFFF
##2B79371.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b7937;
/* rgb */ color: rgb(43, 121, 55);
/* oklch */ color: oklch(51.2% 0.126 146.2);
Tailwind
colors: {
  custom: {
    50: '#6ea06f',
    500: '#2b7937',
    950: '#000000',
  },
}
SCSS
$custom: #2b7937;
$custom-light: #6ea06f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7937",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 55
  },
  "hsl": {
    "h": 129.231,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5119,
    "c": 0.12575,
    "h": 146.2
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

primary
#2B7937
secondary
#AA569D
accent
#51C2D7
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2B7937

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

Preview Lab → · Contrast checker → · Palette generator →

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