#2A784D#2A784D

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

Color values

HEX#2A784D
RGBrgb(42, 120, 77)
HSLhsl(147, 48%, 32%)
HSVhsv(147, 65%, 47%)
CMYKcmyk(65%, 0%, 35.8%, 52.9%)
CIE-LABlab(44.89, -34.46, 16.78)
CIE-LCHlch(44.89, 38.33, 154.03°)
OKLaboklab(51.3% -0.0935 0.0422)
OKLCHoklch(51.3% 0.103 155.7)
XYZxyz(9.0101, 14.4601, 9.3360)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A784D #782A55
analogous
#2E782A #2A784D #2A7874
triadic
#2A784D #4D2A78 #784D2A
tetradic
#2A784D #2A2E78 #782A55 #78742A
square
#2A784D #2A2E78 #782A55 #78742A
split-complementary
#2A784D #742A78 #782A2E
monochromatic
#0A1D13 #1A4B30 #2A784D #3AA56A #58C589

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A784D#FFFFFF#000000##FFFFFF
##2A784D1.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)
#776F4A
Deuteranopia (green-blind)
#6D6750
Tritanopia (blue-blind)
#05776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a784d;
/* rgb */ color: rgb(42, 120, 77);
/* oklch */ color: oklch(51.3% 0.103 155.7);
Tailwind
colors: {
  custom: {
    50: '#6da07f',
    500: '#2a784d',
    950: '#000000',
  },
}
SCSS
$custom: #2a784d;
$custom-light: #6da07f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a784d",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 77
  },
  "hsl": {
    "h": 146.923,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51297,
    "c": 0.10262,
    "h": 155.7
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#2A784D
secondary
#AA5483
accent
#509BD8
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #2A784D

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

Preview Lab → · Contrast checker → · Palette generator →

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