#2D784A#2D784A

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

Color values

HEX#2D784A
RGBrgb(45, 120, 74)
HSLhsl(143, 45%, 32%)
HSVhsv(143, 63%, 47%)
CMYKcmyk(62.5%, 0%, 38.3%, 52.9%)
CIE-LABlab(44.92, -34.40, 18.57)
CIE-LCHlch(44.92, 39.10, 151.64°)
OKLaboklab(51.33% -0.0932 0.0465)
OKLCHoklch(51.33% 0.104 153.5)
XYZxyz(9.0340, 14.4844, 8.7969)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D784A #782D5B
analogous
#35782D #2D784A #2D7870
triadic
#2D784A #4A2D78 #784A2D
tetradic
#2D784A #2D3578 #782D5B #78702D
square
#2D784A #2D3578 #782D5B #78702D
split-complementary
#2D784A #702D78 #782D35
monochromatic
#0C1F13 #1C4B2F #2D784A #3EA565 #5DC284

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D784A#FFFFFF#000000##FFFFFF
##2D784A1.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)
#786F47
Deuteranopia (green-blind)
#6E674D
Tritanopia (blue-blind)
#13776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d784a;
/* rgb */ color: rgb(45, 120, 74);
/* oklch */ color: oklch(51.3% 0.104 153.5);
Tailwind
colors: {
  custom: {
    50: '#6ea07d',
    500: '#2d784a',
    950: '#000000',
  },
}
SCSS
$custom: #2d784a;
$custom-light: #6ea07d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d784a",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 74
  },
  "hsl": {
    "h": 143.2,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51332,
    "c": 0.10418,
    "h": 153.5
  },
  "luminance": 0.14485
}

Semantic roles & 50–950 ramp

primary
#2D784A
secondary
#A9588A
accent
#53A3D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2D784A

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

Preview Lab → · Contrast checker → · Palette generator →

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