#2D784B#2D784B

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

Color values

HEX#2D784B
RGBrgb(45, 120, 75)
HSLhsl(144, 45%, 32%)
HSVhsv(144, 63%, 47%)
CMYKcmyk(62.5%, 0%, 37.5%, 52.9%)
CIE-LABlab(44.94, -34.20, 18.02)
CIE-LCHlch(44.94, 38.66, 152.21°)
OKLaboklab(51.35% -0.0927 0.0452)
OKLCHoklch(51.35% 0.103 154)
XYZxyz(9.0679, 14.4979, 8.9758)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D784B #782D5A
analogous
#34782D #2D784B #2D7871
triadic
#2D784B #4B2D78 #784B2D
tetradic
#2D784B #2D3478 #782D5A #78712D
square
#2D784B #2D3478 #782D5A #78712D
split-complementary
#2D784B #712D78 #782D34
monochromatic
#0C1F13 #1C4B2F #2D784B #3EA567 #5DC286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D784B#FFFFFF#000000##FFFFFF
##2D784B1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F48
Deuteranopia (green-blind)
#6E674E
Tritanopia (blue-blind)
#12776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d784b;
/* rgb */ color: rgb(45, 120, 75);
/* oklch */ color: oklch(51.4% 0.103 154.0);
Tailwind
colors: {
  custom: {
    50: '#6ea07d',
    500: '#2d784b',
    950: '#000000',
  },
}
SCSS
$custom: #2d784b;
$custom-light: #6ea07d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d784b",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 75
  },
  "hsl": {
    "h": 144,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51354,
    "c": 0.10316,
    "h": 154
  },
  "luminance": 0.14499
}

Semantic roles & 50–950 ramp

primary
#2D784B
secondary
#A95888
accent
#53A1D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2D784B

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

Preview Lab → · Contrast checker → · Palette generator →

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