#2A784A#2A784A

#2A784A is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.2% C 0.106 H 154.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2A784A
RGBrgb(42, 120, 74)
HSLhsl(145, 48%, 32%)
HSVhsv(145, 65%, 47%)
CMYKcmyk(65%, 0%, 38.3%, 52.9%)
CIE-LABlab(44.83, -35.08, 18.43)
CIE-LCHlch(44.83, 39.63, 152.28°)
OKLaboklab(51.23% -0.095 0.0462)
OKLCHoklch(51.23% 0.106 154.1)
XYZxyz(8.9066, 14.4187, 8.7909)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A784A #782A58
analogous
#31782A #2A784A #2A7871
triadic
#2A784A #4A2A78 #784A2A
tetradic
#2A784A #2A3178 #782A58 #78712A
square
#2A784A #2A3178 #782A58 #78712A
split-complementary
#2A784A #712A78 #782A31
monochromatic
#0A1D12 #1A4B2E #2A784A #3AA566 #58C584

Accessibility & contrast

On white

5.41
#2A784A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2A784A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A784A
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A784A#FFFFFF#000000##FFFFFF
##2A784A1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a784a;
/* rgb */ color: rgb(42, 120, 74);
/* oklch */ color: oklch(51.2% 0.106 154.1);
Tailwind
colors: {
  custom: {
    50: '#6da07d',
    500: '#2a784a',
    950: '#000000',
  },
}
SCSS
$custom: #2a784a;
$custom-light: #6da07d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a784a",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 74
  },
  "hsl": {
    "h": 144.615,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.10565,
    "h": 154.1
  },
  "luminance": 0.1442
}

Semantic roles & 50–950 ramp

primary
#2A784A
secondary
#AA5487
accent
#50A0D8
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #2A784A

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

Preview Lab → · Contrast checker → · Palette generator →

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