#2D7F36#2D7F36

#2D7F36 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.134 H 145.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2D7F36
RGBrgb(45, 127, 54)
HSLhsl(127, 48%, 34%)
HSVhsv(127, 65%, 50%)
CMYKcmyk(64.6%, 0%, 57.5%, 50.2%)
CIE-LABlab(46.98, -40.75, 32.11)
CIE-LCHlch(46.98, 51.88, 141.76°)
OKLaboklab(52.92% -0.1103 0.0765)
OKLCHoklch(52.92% 0.134 145.2)
XYZxyz(9.3368, 16.0021, 6.0860)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F36 #7F2D76
analogous
#4D7F2D #2D7F36 #2D7F5F
triadic
#2D7F36 #362D7F #7F362D
tetradic
#2D7F36 #2D4D7F #7F2D76 #7F5F2D
square
#2D7F36 #2D4D7F #7F2D76 #7F5F2D
split-complementary
#2D7F36 #5F2D7F #7F2D4D
monochromatic
#0D2510 #1D5223 #2D7F36 #3DAC49 #60C76B

Accessibility & contrast

On white

5.00
#2D7F36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2D7F36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7F36
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F36#FFFFFF#000000##FFFFFF
##2D7F361.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81742F
Deuteranopia (green-blind)
#776D3C
Tritanopia (blue-blind)
#1A7C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7f36;
/* rgb */ color: rgb(45, 127, 54);
/* oklch */ color: oklch(52.9% 0.134 145.2);
Tailwind
colors: {
  custom: {
    50: '#70a56f',
    500: '#2d7f36',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f36;
$custom-light: #70a56f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f36",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 54
  },
  "hsl": {
    "h": 126.585,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52924,
    "c": 0.13423,
    "h": 145.2
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7F36

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

Preview Lab → · Contrast checker → · Palette generator →

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