#2B781A#2B781A

#2B781A is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.148 H 140.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2B781A
RGBrgb(43, 120, 26)
HSLhsl(109, 64%, 29%)
HSVhsv(109, 78%, 47%)
CMYKcmyk(64.2%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.26, -41.56, 41.75)
CIE-LCHlch(44.26, 58.91, 134.86°)
OKLaboklab(50.58% -0.1138 0.0938)
OKLCHoklch(50.58% 0.148 140.5)
XYZxyz(7.8988, 14.0204, 3.2670)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B781A #671A78
analogous
#5A781A #2B781A #1A7838
triadic
#2B781A #1A2B78 #781A2B
tetradic
#2B781A #1A5A78 #671A78 #78381A
square
#2B781A #1A5A78 #671A78 #78381A
split-complementary
#2B781A #381A78 #781A5A
monochromatic
#091905 #19460F #2B781A #3DAA25 #55D438

Accessibility & contrast

On white

5.52
#2B781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2B781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B781A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B781A#FFFFFF#000000##FFFFFF
##2B781A1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D06
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#1F7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2b781a;
/* rgb */ color: rgb(43, 120, 26);
/* oklch */ color: oklch(50.6% 0.148 140.5);
Tailwind
colors: {
  custom: {
    50: '#6fa05e',
    500: '#2b781a',
    950: '#000000',
  },
}
SCSS
$custom: #2b781a;
$custom-light: #6fa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b781a",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 109.149,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50579,
    "c": 0.14751,
    "h": 140.5
  },
  "luminance": 0.14021
}

Semantic roles & 50–950 ramp

primary
#2B781A
secondary
#9941AC
accent
#40E7C9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2B781A

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

Preview Lab → · Contrast checker → · Palette generator →

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