#2A784F#2A784F

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

Color values

HEX#2A784F
RGBrgb(42, 120, 79)
HSLhsl(148, 48%, 32%)
HSVhsv(148, 65%, 47%)
CMYKcmyk(65%, 0%, 34.2%, 52.9%)
CIE-LABlab(44.93, -34.03, 15.68)
CIE-LCHlch(44.93, 37.47, 155.26°)
OKLaboklab(51.34% -0.0925 0.0396)
OKLCHoklch(51.34% 0.101 156.8)
XYZxyz(9.0818, 14.4888, 9.7136)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A784F #782A53
analogous
#2C782A #2A784F #2A7876
triadic
#2A784F #4F2A78 #784F2A
tetradic
#2A784F #2A2C78 #782A53 #78762A
square
#2A784F #2A2C78 #782A53 #78762A
split-complementary
#2A784F #762A78 #782A2C
monochromatic
#0A1D13 #1A4B31 #2A784F #3AA56D #58C58B

Accessibility & contrast

On white

5.39
#2A784F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A784F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A784F#FFFFFF#000000##FFFFFF
##2A784F1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a784f;
/* rgb */ color: rgb(42, 120, 79);
/* oklch */ color: oklch(51.3% 0.101 156.8);
Tailwind
colors: {
  custom: {
    50: '#6da080',
    500: '#2a784f',
    950: '#000000',
  },
}
SCSS
$custom: #2a784f;
$custom-light: #6da080;
$custom-dark: #000000;
JSON
{
  "hex": "#2a784f",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 79
  },
  "hsl": {
    "h": 148.462,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51343,
    "c": 0.10063,
    "h": 156.8
  },
  "luminance": 0.1449
}

Semantic roles & 50–950 ramp

primary
#2A784F
secondary
#AA5481
accent
#5097D8
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #2A784F

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

Preview Lab → · Contrast checker → · Palette generator →

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