#2A784B#2A784B

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

Color values

HEX#2A784B
RGBrgb(42, 120, 75)
HSLhsl(145, 48%, 32%)
HSVhsv(145, 65%, 47%)
CMYKcmyk(65%, 0%, 37.5%, 52.9%)
CIE-LABlab(44.85, -34.88, 17.88)
CIE-LCHlch(44.85, 39.19, 152.85°)
OKLaboklab(51.25% -0.0945 0.0449)
OKLCHoklch(51.25% 0.105 154.6)
XYZxyz(8.9406, 14.4323, 8.9698)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A784B #782A57
analogous
#30782A #2A784B #2A7872
triadic
#2A784B #4B2A78 #784B2A
tetradic
#2A784B #2A3078 #782A57 #78722A
square
#2A784B #2A3078 #782A57 #78722A
split-complementary
#2A784B #722A78 #782A30
monochromatic
#0A1D12 #1A4B2F #2A784B #3AA567 #58C586

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A784B#FFFFFF#000000##FFFFFF
##2A784B1.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)
#6D674E
Tritanopia (blue-blind)
#07776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a784b;
/* rgb */ color: rgb(42, 120, 75);
/* oklch */ color: oklch(51.3% 0.105 154.6);
Tailwind
colors: {
  custom: {
    50: '#6da07d',
    500: '#2a784b',
    950: '#000000',
  },
}
SCSS
$custom: #2a784b;
$custom-light: #6da07d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a784b",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 75
  },
  "hsl": {
    "h": 145.385,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51252,
    "c": 0.10463,
    "h": 154.6
  },
  "luminance": 0.14433
}

Semantic roles & 50–950 ramp

primary
#2A784B
secondary
#AA5485
accent
#509ED8
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #2A784B

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

Preview Lab → · Contrast checker → · Palette generator →

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