#2D7D36#2D7D36

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

Color values

HEX#2D7D36
RGBrgb(45, 125, 54)
HSLhsl(127, 47%, 33%)
HSVhsv(127, 64%, 49%)
CMYKcmyk(64%, 0%, 56.8%, 51%)
CIE-LABlab(46.30, -39.95, 31.30)
CIE-LCHlch(46.30, 50.75, 141.92°)
OKLaboklab(52.36% -0.1081 0.0748)
OKLCHoklch(52.36% 0.131 145.3)
XYZxyz(9.0811, 15.4906, 6.0007)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D36 #7D2D74
analogous
#4C7D2D #2D7D36 #2D7D5E
triadic
#2D7D36 #362D7D #7D362D
tetradic
#2D7D36 #2D4C7D #7D2D74 #7D5E2D
square
#2D7D36 #2D4C7D #7D2D74 #7D5E2D
split-complementary
#2D7D36 #5E2D7D #7D2D4C
monochromatic
#0D230F #1D5023 #2D7D36 #3DAA49 #5FC56B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7D36#FFFFFF#000000##FFFFFF
##2D7D361.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)
#7F722F
Deuteranopia (green-blind)
#756B3B
Tritanopia (blue-blind)
#1A7A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7d36;
/* rgb */ color: rgb(45, 125, 54);
/* oklch */ color: oklch(52.4% 0.131 145.3);
Tailwind
colors: {
  custom: {
    50: '#70a36f',
    500: '#2d7d36',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d36;
$custom-light: #70a36f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d36",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 54
  },
  "hsl": {
    "h": 126.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52365,
    "c": 0.13145,
    "h": 145.3
  },
  "luminance": 0.15491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7D36

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

Preview Lab → · Contrast checker → · Palette generator →

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