#2B784A#2B784A

#2B784A is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.3% C 0.105 H 153.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2B784A
RGBrgb(43, 120, 74)
HSLhsl(144, 47%, 32%)
HSVhsv(144, 64%, 47%)
CMYKcmyk(64.2%, 0%, 38.3%, 52.9%)
CIE-LABlab(44.86, -34.86, 18.48)
CIE-LCHlch(44.86, 39.46, 152.07°)
OKLaboklab(51.26% -0.0944 0.0463)
OKLCHoklch(51.26% 0.105 153.9)
XYZxyz(8.9480, 14.4401, 8.7929)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B784A #782B59
analogous
#33782B #2B784A #2B7871
triadic
#2B784A #4A2B78 #784A2B
tetradic
#2B784A #2B3378 #782B59 #78712B
square
#2B784A #2B3378 #782B59 #78712B
split-complementary
#2B784A #712B78 #782B33
monochromatic
#0B1E12 #1B4B2E #2B784A #3BA566 #5AC484

Accessibility & contrast

On white

5.40
#2B784A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2B784A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B784A
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B784A#FFFFFF#000000##FFFFFF
##2B784A1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E47
Deuteranopia (green-blind)
#6E674D
Tritanopia (blue-blind)
#0C776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b784a;
/* rgb */ color: rgb(43, 120, 74);
/* oklch */ color: oklch(51.3% 0.105 153.9);
Tailwind
colors: {
  custom: {
    50: '#6da07d',
    500: '#2b784a',
    950: '#000000',
  },
}
SCSS
$custom: #2b784a;
$custom-light: #6da07d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b784a",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 74
  },
  "hsl": {
    "h": 144.156,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51263,
    "c": 0.10516,
    "h": 153.9
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#2B784A
secondary
#AA5588
accent
#51A1D7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2B784A

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

Preview Lab → · Contrast checker → · Palette generator →

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