#2D784E#2D784E

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

Color values

HEX#2D784E
RGBrgb(45, 120, 78)
HSLhsl(146, 45%, 32%)
HSVhsv(146, 63%, 47%)
CMYKcmyk(62.5%, 0%, 35%, 52.9%)
CIE-LABlab(45.00, -33.57, 16.37)
CIE-LCHlch(45.00, 37.35, 154.00°)
OKLaboklab(51.42% -0.0912 0.0413)
OKLCHoklch(51.42% 0.1 155.7)
XYZxyz(9.1730, 14.5400, 9.5293)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D784E #782D57
analogous
#31782D #2D784E #2D7874
triadic
#2D784E #4E2D78 #784E2D
tetradic
#2D784E #2D3178 #782D57 #78742D
square
#2D784E #2D3178 #782D57 #78742D
split-complementary
#2D784E #742D78 #782D31
monochromatic
#0C1F14 #1C4B31 #2D784E #3EA56B #5DC28A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D784E#FFFFFF#000000##FFFFFF
##2D784E1.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)
#776F4B
Deuteranopia (green-blind)
#6D6851
Tritanopia (blue-blind)
#0F776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d784e;
/* rgb */ color: rgb(45, 120, 78);
/* oklch */ color: oklch(51.4% 0.100 155.7);
Tailwind
colors: {
  custom: {
    50: '#6e9f80',
    500: '#2d784e',
    950: '#000000',
  },
}
SCSS
$custom: #2d784e;
$custom-light: #6e9f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2d784e",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 78
  },
  "hsl": {
    "h": 146.4,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51421,
    "c": 0.10013,
    "h": 155.7
  },
  "luminance": 0.14541
}

Semantic roles & 50–950 ramp

primary
#2D784E
secondary
#A95885
accent
#539CD5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2D784E

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

Preview Lab → · Contrast checker → · Palette generator →

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