#2B741A#2B741A

#2B741A is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.143 H 140.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2B741A
RGBrgb(43, 116, 26)
HSLhsl(109, 63%, 28%)
HSVhsv(109, 78%, 45%)
CMYKcmyk(62.9%, 0%, 77.6%, 54.5%)
CIE-LABlab(42.88, -40.03, 40.38)
CIE-LCHlch(42.88, 56.86, 134.75°)
OKLaboklab(49.44% -0.1097 0.091)
OKLCHoklch(49.44% 0.143 140.3)
XYZxyz(7.4278, 13.0783, 3.1100)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B741A #631A74
analogous
#58741A #2B741A #1A7436
triadic
#2B741A #1A2B74 #741A2B
tetradic
#2B741A #1A5874 #631A74 #74361A
square
#2B741A #1A5874 #631A74 #74361A
split-complementary
#2B741A #361A74 #741A58
monochromatic
#091906 #18420F #2B741A #3EA625 #54D236

Accessibility & contrast

On white

5.81
#2B741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2B741A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B741A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B741A#FFFFFF#000000##FFFFFF
##2B741A1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776908
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#217063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b741a;
/* rgb */ color: rgb(43, 116, 26);
/* oklch */ color: oklch(49.4% 0.143 140.3);
Tailwind
colors: {
  custom: {
    50: '#6e9d5d',
    500: '#2b741a',
    950: '#000000',
  },
}
SCSS
$custom: #2b741a;
$custom-light: #6e9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b741a",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 108.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.14252,
    "h": 140.3
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#2B741A
secondary
#9541A9
accent
#41E6C7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B741A

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

Preview Lab → · Contrast checker → · Palette generator →

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