#2A784C#2A784C

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

Color values

HEX#2A784C
RGBrgb(42, 120, 76)
HSLhsl(146, 48%, 32%)
HSVhsv(146, 65%, 47%)
CMYKcmyk(65%, 0%, 36.7%, 52.9%)
CIE-LABlab(44.87, -34.67, 17.33)
CIE-LCHlch(44.87, 38.76, 153.43°)
OKLaboklab(51.27% -0.094 0.0436)
OKLCHoklch(51.27% 0.104 155.1)
XYZxyz(8.9751, 14.4461, 9.1515)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A784C #782A56
analogous
#2F782A #2A784C #2A7873
triadic
#2A784C #4C2A78 #784C2A
tetradic
#2A784C #2A2F78 #782A56 #78732A
square
#2A784C #2A2F78 #782A56 #78732A
split-complementary
#2A784C #732A78 #782A2F
monochromatic
#0A1D13 #1A4B2F #2A784C #3AA569 #58C587

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A784C#FFFFFF#000000##FFFFFF
##2A784C1.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)
#786F49
Deuteranopia (green-blind)
#6D674F
Tritanopia (blue-blind)
#06776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a784c;
/* rgb */ color: rgb(42, 120, 76);
/* oklch */ color: oklch(51.3% 0.104 155.1);
Tailwind
colors: {
  custom: {
    50: '#6da07e',
    500: '#2a784c',
    950: '#000000',
  },
}
SCSS
$custom: #2a784c;
$custom-light: #6da07e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a784c",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 76
  },
  "hsl": {
    "h": 146.154,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51274,
    "c": 0.10363,
    "h": 155.1
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

primary
#2A784C
secondary
#AA5484
accent
#509DD8
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #2A784C

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

Preview Lab → · Contrast checker → · Palette generator →

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