#2D7E36#2D7E36

#2D7E36 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.133 H 145.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2D7E36
RGBrgb(45, 126, 54)
HSLhsl(127, 47%, 34%)
HSVhsv(127, 64%, 49%)
CMYKcmyk(64.3%, 0%, 57.1%, 50.6%)
CIE-LABlab(46.64, -40.35, 31.71)
CIE-LCHlch(46.64, 51.32, 141.84°)
OKLaboklab(52.64% -0.1092 0.0756)
OKLCHoklch(52.64% 0.133 145.3)
XYZxyz(9.2083, 15.7450, 6.0431)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E36 #7E2D75
analogous
#4C7E2D #2D7E36 #2D7E5E
triadic
#2D7E36 #362D7E #7E362D
tetradic
#2D7E36 #2D4C7E #7E2D75 #7E5E2D
square
#2D7E36 #2D4C7E #7E2D75 #7E5E2D
split-complementary
#2D7E36 #5E2D7E #7E2D4C
monochromatic
#0D240F #1D5123 #2D7E36 #3DAB49 #5FC66B

Accessibility & contrast

On white

5.06
#2D7E36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2D7E36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E36
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E36#FFFFFF#000000##FFFFFF
##2D7E361.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732F
Deuteranopia (green-blind)
#766C3B
Tritanopia (blue-blind)
#1A7B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7e36;
/* rgb */ color: rgb(45, 126, 54);
/* oklch */ color: oklch(52.6% 0.133 145.3);
Tailwind
colors: {
  custom: {
    50: '#70a46f',
    500: '#2d7e36',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e36;
$custom-light: #70a46f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e36",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 54
  },
  "hsl": {
    "h": 126.667,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52644,
    "c": 0.13285,
    "h": 145.3
  },
  "luminance": 0.15746
}

Semantic roles & 50–950 ramp

primary
#2D7E36
secondary
#AC5AA3
accent
#51C8D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7E36

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

Preview Lab → · Contrast checker → · Palette generator →

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