#2B784F#2B784F

#2B784F is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.4% C 0.100 H 156.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2B784F
RGBrgb(43, 120, 79)
HSLhsl(148, 47%, 32%)
HSVhsv(148, 64%, 47%)
CMYKcmyk(64.2%, 0%, 34.2%, 52.9%)
CIE-LABlab(44.96, -33.81, 15.72)
CIE-LCHlch(44.96, 37.29, 155.06°)
OKLaboklab(51.38% -0.0919 0.0397)
OKLCHoklch(51.38% 0.1 156.6)
XYZxyz(9.1232, 14.5101, 9.7156)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B784F #782B54
analogous
#2E782B #2B784F #2B7876
triadic
#2B784F #4F2B78 #784F2B
tetradic
#2B784F #2B2E78 #782B54 #78762B
square
#2B784F #2B2E78 #782B54 #78762B
split-complementary
#2B784F #762B78 #782B2E
monochromatic
#0B1E14 #1B4B31 #2B784F #3BA56D #5AC48B

Accessibility & contrast

On white

5.38
#2B784F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2B784F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B784F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B784F#FFFFFF#000000##FFFFFF
##2B784F1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F4C
Deuteranopia (green-blind)
#6D6752
Tritanopia (blue-blind)
#06776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b784f;
/* rgb */ color: rgb(43, 120, 79);
/* oklch */ color: oklch(51.4% 0.100 156.6);
Tailwind
colors: {
  custom: {
    50: '#6d9f80',
    500: '#2b784f',
    950: '#000000',
  },
}
SCSS
$custom: #2b784f;
$custom-light: #6d9f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2b784f",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 79
  },
  "hsl": {
    "h": 148.052,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51376,
    "c": 0.10014,
    "h": 156.6
  },
  "luminance": 0.14511
}

Semantic roles & 50–950 ramp

primary
#2B784F
secondary
#AA5582
accent
#5198D7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2B784F

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

Preview Lab → · Contrast checker → · Palette generator →

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