#2D784C#2D784C

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

Color values

HEX#2D784C
RGBrgb(45, 120, 76)
HSLhsl(145, 45%, 32%)
HSVhsv(145, 63%, 47%)
CMYKcmyk(62.5%, 0%, 36.7%, 52.9%)
CIE-LABlab(44.96, -33.99, 17.47)
CIE-LCHlch(44.96, 38.22, 152.79°)
OKLaboklab(51.38% -0.0922 0.0439)
OKLCHoklch(51.38% 0.102 154.6)
XYZxyz(9.1024, 14.5117, 9.1574)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D784C #782D59
analogous
#33782D #2D784C #2D7872
triadic
#2D784C #4C2D78 #784C2D
tetradic
#2D784C #2D3378 #782D59 #78722D
square
#2D784C #2D3378 #782D59 #78722D
split-complementary
#2D784C #722D78 #782D33
monochromatic
#0C1F14 #1C4B30 #2D784C #3EA568 #5DC287

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D784C#FFFFFF#000000##FFFFFF
##2D784C1.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)
#786F49
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#11776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d784c;
/* rgb */ color: rgb(45, 120, 76);
/* oklch */ color: oklch(51.4% 0.102 154.6);
Tailwind
colors: {
  custom: {
    50: '#6e9f7e',
    500: '#2d784c',
    950: '#000000',
  },
}
SCSS
$custom: #2d784c;
$custom-light: #6e9f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d784c",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 76
  },
  "hsl": {
    "h": 144.8,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51376,
    "c": 0.10215,
    "h": 154.6
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

primary
#2D784C
secondary
#A95887
accent
#539FD5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2D784C

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

Preview Lab → · Contrast checker → · Palette generator →

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