#2D784D#2D784D

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

Color values

HEX#2D784D
RGBrgb(45, 120, 77)
HSLhsl(146, 45%, 32%)
HSVhsv(146, 63%, 47%)
CMYKcmyk(62.5%, 0%, 35.8%, 52.9%)
CIE-LABlab(44.98, -33.78, 16.92)
CIE-LCHlch(44.98, 37.79, 153.39°)
OKLaboklab(51.4% -0.0917 0.0426)
OKLCHoklch(51.4% 0.101 155.1)
XYZxyz(9.1374, 14.5258, 9.3420)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D784D #782D58
analogous
#32782D #2D784D #2D7873
triadic
#2D784D #4D2D78 #784D2D
tetradic
#2D784D #2D3278 #782D58 #78732D
square
#2D784D #2D3278 #782D58 #78732D
split-complementary
#2D784D #732D78 #782D32
monochromatic
#0C1F14 #1C4B30 #2D784D #3EA56A #5DC288

Accessibility & contrast

On white

5.38
#2D784D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D784D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D784D#FFFFFF#000000##FFFFFF
##2D784D1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4A
Deuteranopia (green-blind)
#6D6850
Tritanopia (blue-blind)
#10776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d784d;
/* rgb */ color: rgb(45, 120, 77);
/* oklch */ color: oklch(51.4% 0.101 155.1);
Tailwind
colors: {
  custom: {
    50: '#6e9f7f',
    500: '#2d784d',
    950: '#000000',
  },
}
SCSS
$custom: #2d784d;
$custom-light: #6e9f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d784d",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 77
  },
  "hsl": {
    "h": 145.6,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51399,
    "c": 0.10114,
    "h": 155.1
  },
  "luminance": 0.14527
}

Semantic roles & 50–950 ramp

primary
#2D784D
secondary
#A95886
accent
#539DD5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2D784D

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

Preview Lab → · Contrast checker → · Palette generator →

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