#2B784B#2B784B

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

Color values

HEX#2B784B
RGBrgb(43, 120, 75)
HSLhsl(145, 47%, 32%)
HSVhsv(145, 64%, 47%)
CMYKcmyk(64.2%, 0%, 37.5%, 52.9%)
CIE-LABlab(44.88, -34.65, 17.93)
CIE-LCHlch(44.88, 39.02, 152.64°)
OKLaboklab(51.29% -0.0939 0.045)
OKLCHoklch(51.29% 0.104 154.4)
XYZxyz(8.9820, 14.4536, 8.9717)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B784B #782B58
analogous
#32782B #2B784B #2B7872
triadic
#2B784B #4B2B78 #784B2B
tetradic
#2B784B #2B3278 #782B58 #78722B
square
#2B784B #2B3278 #782B58 #78722B
split-complementary
#2B784B #722B78 #782B32
monochromatic
#0B1E13 #1B4B2F #2B784B #3BA567 #5AC486

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B784B#FFFFFF#000000##FFFFFF
##2B784B1.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)
#786E48
Deuteranopia (green-blind)
#6E674E
Tritanopia (blue-blind)
#0B776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b784b;
/* rgb */ color: rgb(43, 120, 75);
/* oklch */ color: oklch(51.3% 0.104 154.4);
Tailwind
colors: {
  custom: {
    50: '#6da07d',
    500: '#2b784b',
    950: '#000000',
  },
}
SCSS
$custom: #2b784b;
$custom-light: #6da07d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b784b",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 75
  },
  "hsl": {
    "h": 144.935,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.10415,
    "h": 154.4
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#2B784B
secondary
#AA5587
accent
#519FD7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2B784B

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

Preview Lab → · Contrast checker → · Palette generator →

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