#2D7D39#2D7D39

#2D7D39 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.129 H 146.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2D7D39
RGBrgb(45, 125, 57)
HSLhsl(129, 47%, 33%)
HSVhsv(129, 64%, 49%)
CMYKcmyk(64%, 0%, 54.4%, 51%)
CIE-LABlab(46.34, -39.51, 29.78)
CIE-LCHlch(46.34, 49.48, 142.99°)
OKLaboklab(52.41% -0.1068 0.0716)
OKLCHoklch(52.41% 0.129 146.2)
XYZxyz(9.1537, 15.5196, 6.3833)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D39 #7D2D71
analogous
#497D2D #2D7D39 #2D7D61
triadic
#2D7D39 #392D7D #7D392D
tetradic
#2D7D39 #2D497D #7D2D71 #7D612D
square
#2D7D39 #2D497D #7D2D71 #7D612D
split-complementary
#2D7D39 #612D7D #7D2D49
monochromatic
#0D2310 #1D5024 #2D7D39 #3DAA4E #5FC56E

Accessibility & contrast

On white

5.12
#2D7D39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2D7D39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D39
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D39#FFFFFF#000000##FFFFFF
##2D7D391.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7233
Deuteranopia (green-blind)
#756B3E
Tritanopia (blue-blind)
#197A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7d39;
/* rgb */ color: rgb(45, 125, 57);
/* oklch */ color: oklch(52.4% 0.129 146.2);
Tailwind
colors: {
  custom: {
    50: '#6fa371',
    500: '#2d7d39',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d39;
$custom-light: #6fa371;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d39",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 57
  },
  "hsl": {
    "h": 129,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52409,
    "c": 0.12862,
    "h": 146.2
  },
  "luminance": 0.15521
}

Semantic roles & 50–950 ramp

primary
#2D7D39
secondary
#AC5AA0
accent
#51C3D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2D7D39

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

Preview Lab → · Contrast checker → · Palette generator →

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