#2B751A#2B751A

#2B751A is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.144 H 140.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2B751A
RGBrgb(43, 117, 26)
HSLhsl(109, 64%, 28%)
HSVhsv(109, 78%, 46%)
CMYKcmyk(63.2%, 0%, 77.8%, 54.1%)
CIE-LABlab(43.23, -40.41, 40.73)
CIE-LCHlch(43.23, 57.38, 134.78°)
OKLaboklab(49.72% -0.1108 0.0917)
OKLCHoklch(49.72% 0.144 140.4)
XYZxyz(7.5437, 13.3101, 3.1486)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B751A #641A75
analogous
#58751A #2B751A #1A7536
triadic
#2B751A #1A2B75 #751A2B
tetradic
#2B751A #1A5875 #641A75 #75361A
square
#2B751A #1A5875 #641A75 #75361A
split-complementary
#2B751A #361A75 #751A58
monochromatic
#091906 #19430F #2B751A #3DA725 #54D337

Accessibility & contrast

On white

5.73
#2B751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2B751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B751A
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B751A#FFFFFF#000000##FFFFFF
##2B751A1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A07
Deuteranopia (green-blind)
#6F6424
Tritanopia (blue-blind)
#217164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2b751a;
/* rgb */ color: rgb(43, 117, 26);
/* oklch */ color: oklch(49.7% 0.144 140.4);
Tailwind
colors: {
  custom: {
    50: '#6e9d5d',
    500: '#2b751a',
    950: '#000000',
  },
}
SCSS
$custom: #2b751a;
$custom-light: #6e9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b751a",
  "rgb": {
    "r": 43,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 108.791,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49723,
    "c": 0.14378,
    "h": 140.4
  },
  "luminance": 0.13311
}

Semantic roles & 50–950 ramp

primary
#2B751A
secondary
#9641AA
accent
#41E7C8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B751A

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

Preview Lab → · Contrast checker → · Palette generator →

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