#2A784E#2A784E

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

Color values

HEX#2A784E
RGBrgb(42, 120, 78)
HSLhsl(148, 48%, 32%)
HSVhsv(148, 65%, 47%)
CMYKcmyk(65%, 0%, 35%, 52.9%)
CIE-LABlab(44.91, -34.24, 16.23)
CIE-LCHlch(44.91, 37.89, 154.64°)
OKLaboklab(51.32% -0.093 0.0409)
OKLCHoklch(51.32% 0.102 156.3)
XYZxyz(9.0457, 14.4743, 9.5234)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A784E #782A54
analogous
#2D782A #2A784E #2A7875
triadic
#2A784E #4E2A78 #784E2A
tetradic
#2A784E #2A2D78 #782A54 #78752A
square
#2A784E #2A2D78 #782A54 #78752A
split-complementary
#2A784E #752A78 #782A2D
monochromatic
#0A1D13 #1A4B31 #2A784E #3AA56B #58C58A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A784E#FFFFFF#000000##FFFFFF
##2A784E1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F4B
Deuteranopia (green-blind)
#6D6751
Tritanopia (blue-blind)
#03776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a784e;
/* rgb */ color: rgb(42, 120, 78);
/* oklch */ color: oklch(51.3% 0.102 156.3);
Tailwind
colors: {
  custom: {
    50: '#6da080',
    500: '#2a784e',
    950: '#000000',
  },
}
SCSS
$custom: #2a784e;
$custom-light: #6da080;
$custom-dark: #000000;
JSON
{
  "hex": "#2a784e",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 78
  },
  "hsl": {
    "h": 147.692,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5132,
    "c": 0.10162,
    "h": 156.3
  },
  "luminance": 0.14475
}

Semantic roles & 50–950 ramp

primary
#2A784E
secondary
#AA5482
accent
#5099D8
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #2A784E

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

Preview Lab → · Contrast checker → · Palette generator →

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