#2B781E#2B781E

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

Color values

HEX#2B781E
RGBrgb(43, 120, 30)
HSLhsl(111, 60%, 29%)
HSVhsv(111, 75%, 47%)
CMYKcmyk(64.2%, 0%, 75%, 52.9%)
CIE-LABlab(44.29, -41.23, 40.24)
CIE-LCHlch(44.29, 57.61, 135.70°)
OKLaboklab(50.61% -0.1127 0.0912)
OKLCHoklch(50.61% 0.145 141)
XYZxyz(7.9467, 14.0395, 3.5192)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B781E #6B1E78
analogous
#58781E #2B781E #1E783E
triadic
#2B781E #1E2B78 #781E2B
tetradic
#2B781E #1E5878 #6B1E78 #783E1E
square
#2B781E #1E5878 #6B1E78 #783E1E
split-complementary
#2B781E #3E1E78 #781E58
monochromatic
#091806 #194712 #2B781E #3DA92A #56CF41

Accessibility & contrast

On white

5.51
#2B781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2B781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B781E
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B781E#FFFFFF#000000##FFFFFF
##2B781E1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b781e;
/* rgb */ color: rgb(43, 120, 30);
/* oklch */ color: oklch(50.6% 0.145 141.0);
Tailwind
colors: {
  custom: {
    50: '#6fa060',
    500: '#2b781e',
    950: '#000000',
  },
}
SCSS
$custom: #2b781e;
$custom-light: #6fa060;
$custom-dark: #000000;
JSON
{
  "hex": "#2b781e",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 111.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50611,
    "c": 0.14504,
    "h": 141
  },
  "luminance": 0.1404
}

Semantic roles & 50–950 ramp

primary
#2B781E
secondary
#9D46AC
accent
#45E3CC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2B781E

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

Preview Lab → · Contrast checker → · Palette generator →

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