#2D784F#2D784F

#2D784F is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.099 H 156.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2D784F
RGBrgb(45, 120, 79)
HSLhsl(147, 45%, 32%)
HSVhsv(147, 63%, 47%)
CMYKcmyk(62.5%, 0%, 34.2%, 52.9%)
CIE-LABlab(45.02, -33.36, 15.82)
CIE-LCHlch(45.02, 36.92, 154.63°)
OKLaboklab(51.44% -0.0907 0.0399)
OKLCHoklch(51.44% 0.099 156.2)
XYZxyz(9.2092, 14.5544, 9.7196)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D784F #782D56
analogous
#30782D #2D784F #2D7875
triadic
#2D784F #4F2D78 #784F2D
tetradic
#2D784F #2D3078 #782D56 #78752D
square
#2D784F #2D3078 #782D56 #78752D
split-complementary
#2D784F #752D78 #782D30
monochromatic
#0C1F14 #1C4B32 #2D784F #3EA56C #5DC28B

Accessibility & contrast

On white

5.37
#2D784F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2D784F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D784F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D784F#FFFFFF#000000##FFFFFF
##2D784F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F4C
Deuteranopia (green-blind)
#6D6852
Tritanopia (blue-blind)
#0E776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d784f;
/* rgb */ color: rgb(45, 120, 79);
/* oklch */ color: oklch(51.4% 0.099 156.2);
Tailwind
colors: {
  custom: {
    50: '#6e9f80',
    500: '#2d784f',
    950: '#000000',
  },
}
SCSS
$custom: #2d784f;
$custom-light: #6e9f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2d784f",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 79
  },
  "hsl": {
    "h": 147.2,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51445,
    "c": 0.09913,
    "h": 156.2
  },
  "luminance": 0.14555
}

Semantic roles & 50–950 ramp

primary
#2D784F
secondary
#A95884
accent
#539AD5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #2D784F

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

Preview Lab → · Contrast checker → · Palette generator →

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