#2B783A#2B783A

#2B783A is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.121 H 147.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2B783A
RGBrgb(43, 120, 58)
HSLhsl(132, 47%, 32%)
HSVhsv(132, 64%, 47%)
CMYKcmyk(64.2%, 0%, 51.7%, 52.9%)
CIE-LABlab(44.59, -37.78, 27.09)
CIE-LCHlch(44.59, 46.49, 144.36°)
OKLaboklab(50.96% -0.1021 0.0657)
OKLCHoklch(50.96% 0.121 147.3)
XYZxyz(8.4759, 14.2512, 6.3063)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B783A #782B69
analogous
#43782B #2B783A #2B7861
triadic
#2B783A #3A2B78 #783A2B
tetradic
#2B783A #2B4378 #782B69 #78612B
square
#2B783A #2B4378 #782B69 #78612B
split-complementary
#2B783A #612B78 #782B43
monochromatic
#0B1E0E #1B4B24 #2B783A #3BA550 #5AC46E

Accessibility & contrast

On white

5.45
#2B783A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2B783A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B783A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B783A#FFFFFF#000000##FFFFFF
##2B783A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E35
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#17756A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2b783a;
/* rgb */ color: rgb(43, 120, 58);
/* oklch */ color: oklch(51.0% 0.121 147.3);
Tailwind
colors: {
  custom: {
    50: '#6da071',
    500: '#2b783a',
    950: '#000000',
  },
}
SCSS
$custom: #2b783a;
$custom-light: #6da071;
$custom-dark: #000000;
JSON
{
  "hex": "#2b783a",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 58
  },
  "hsl": {
    "h": 131.688,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.12139,
    "h": 147.3
  },
  "luminance": 0.14252
}

Semantic roles & 50–950 ramp

primary
#2B783A
secondary
#AA5599
accent
#51BDD7
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2B783A

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

Preview Lab → · Contrast checker → · Palette generator →

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