#2B761B#2B761B

#2B761B is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.144 H 140.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2B761B
RGBrgb(43, 118, 27)
HSLhsl(109, 63%, 28%)
HSVhsv(109, 77%, 46%)
CMYKcmyk(63.6%, 0%, 77.1%, 53.7%)
CIE-LABlab(43.58, -40.72, 40.70)
CIE-LCHlch(43.58, 57.57, 135.01°)
OKLaboklab(50.02% -0.1115 0.0918)
OKLCHoklch(50.02% 0.144 140.6)
XYZxyz(7.6722, 13.5489, 3.2476)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B761B #661B76
analogous
#58761B #2B761B #1B7638
triadic
#2B761B #1B2B76 #761B2B
tetradic
#2B761B #1B5876 #661B76 #76381B
square
#2B761B #1B5876 #661B76 #76381B
split-complementary
#2B761B #381B76 #761B58
monochromatic
#091906 #194410 #2B761B #3DA826 #54D23A

Accessibility & contrast

On white

5.66
#2B761B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2B761B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B761B
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B761B#FFFFFF#000000##FFFFFF
##2B761B1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B09
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#207264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b761b;
/* rgb */ color: rgb(43, 118, 27);
/* oklch */ color: oklch(50.0% 0.144 140.6);
Tailwind
colors: {
  custom: {
    50: '#6f9e5e',
    500: '#2b761b',
    950: '#000000',
  },
}
SCSS
$custom: #2b761b;
$custom-light: #6f9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b761b",
  "rgb": {
    "r": 43,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 109.451,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50016,
    "c": 0.14442,
    "h": 140.6
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#2B761B
secondary
#9842AA
accent
#42E6C9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B761B

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

Preview Lab → · Contrast checker → · Palette generator →

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