#2D6740#2D6740

#2D6740 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.4% C 0.088 H 152.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2D6740
RGBrgb(45, 103, 64)
HSLhsl(140, 39%, 29%)
HSVhsv(140, 56%, 40%)
CMYKcmyk(56.3%, 0%, 37.9%, 59.6%)
CIE-LABlab(38.95, -28.69, 16.41)
CIE-LCHlch(38.95, 33.05, 150.23°)
OKLaboklab(46.38% -0.0779 0.0411)
OKLCHoklch(46.38% 0.088 152.2)
XYZxyz(6.8574, 10.6280, 6.5395)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6740 #672D54
analogous
#37672D #2D6740 #2D675D
triadic
#2D6740 #402D67 #67402D
tetradic
#2D6740 #2D3767 #672D54 #675D2D
square
#2D6740 #2D3767 #672D54 #675D2D
split-complementary
#2D6740 #5D2D67 #672D37
monochromatic
#09150D #1A3C26 #2D6740 #40925A #58B677

Accessibility & contrast

On white

6.72
#2D6740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2D6740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6740
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6740#FFFFFF#000000##FFFFFF
##2D67401.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F3D
Deuteranopia (green-blind)
#5F5942
Tritanopia (blue-blind)
#1F665D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d6740;
/* rgb */ color: rgb(45, 103, 64);
/* oklch */ color: oklch(46.4% 0.088 152.2);
Tailwind
colors: {
  custom: {
    50: '#6b9375',
    500: '#2d6740',
    950: '#000000',
  },
}
SCSS
$custom: #2d6740;
$custom-light: #6b9375;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6740",
  "rgb": {
    "r": 45,
    "g": 103,
    "b": 64
  },
  "hsl": {
    "h": 139.655,
    "s": 39.189,
    "l": 29.02
  },
  "oklch": {
    "l": 0.46375,
    "c": 0.08812,
    "h": 152.2
  },
  "luminance": 0.10629
}

Semantic roles & 50–950 ramp

primary
#2D6740
secondary
#995783
accent
#59A8CF
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2D6740

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

Preview Lab → · Contrast checker → · Palette generator →

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