#2B761F#2B761F

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

Color values

HEX#2B761F
RGBrgb(43, 118, 31)
HSLhsl(112, 58%, 29%)
HSVhsv(112, 74%, 46%)
CMYKcmyk(63.6%, 0%, 73.7%, 53.7%)
CIE-LABlab(43.61, -40.38, 39.13)
CIE-LCHlch(43.61, 56.23, 135.90°)
OKLaboklab(50.05% -0.1104 0.0891)
OKLCHoklch(50.05% 0.142 141.1)
XYZxyz(7.7216, 13.5687, 3.5082)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B761F #6A1F76
analogous
#57761F #2B761F #1F763F
triadic
#2B761F #1F2B76 #761F2B
tetradic
#2B761F #1F5776 #6A1F76 #763F1F
square
#2B761F #1F5776 #6A1F76 #763F1F
split-complementary
#2B761F #3F1F76 #761F57
monochromatic
#091806 #194612 #2B761F #3DA62C #55CD42

Accessibility & contrast

On white

5.65
#2B761F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B761F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B761F#FFFFFF#000000##FFFFFF
##2B761F1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B11
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#1F7265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b761f;
/* rgb */ color: rgb(43, 118, 31);
/* oklch */ color: oklch(50.0% 0.142 141.1);
Tailwind
colors: {
  custom: {
    50: '#6e9e60',
    500: '#2b761f',
    950: '#000000',
  },
}
SCSS
$custom: #2b761f;
$custom-light: #6e9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b761f",
  "rgb": {
    "r": 43,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 111.724,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5005,
    "c": 0.14182,
    "h": 141.1
  },
  "luminance": 0.13569
}

Semantic roles & 50–950 ramp

primary
#2B761F
secondary
#9C47AA
accent
#46E2CC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B761F

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

Preview Lab → · Contrast checker → · Palette generator →

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