#2D7E34#2D7E34

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

Color values

HEX#2D7E34
RGBrgb(45, 126, 52)
HSLhsl(125, 47%, 34%)
HSVhsv(125, 64%, 49%)
CMYKcmyk(64.3%, 0%, 58.7%, 50.6%)
CIE-LABlab(46.61, -40.63, 32.70)
CIE-LCHlch(46.61, 52.15, 141.17°)
OKLaboklab(52.62% -0.11 0.0777)
OKLCHoklch(52.62% 0.135 144.8)
XYZxyz(9.1623, 15.7266, 5.8008)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E34 #7E2D77
analogous
#4E7E2D #2D7E34 #2D7E5C
triadic
#2D7E34 #342D7E #7E342D
tetradic
#2D7E34 #2D4E7E #7E2D77 #7E5C2D
square
#2D7E34 #2D4E7E #7E2D77 #7E5C2D
split-complementary
#2D7E34 #5C2D7E #7E2D4E
monochromatic
#0D240F #1D5121 #2D7E34 #3DAB47 #5FC668

Accessibility & contrast

On white

5.07
#2D7E34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7E34
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E34#FFFFFF#000000##FFFFFF
##2D7E341.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732D
Deuteranopia (green-blind)
#766C3A
Tritanopia (blue-blind)
#1B7B6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e34;
/* rgb */ color: rgb(45, 126, 52);
/* oklch */ color: oklch(52.6% 0.135 144.8);
Tailwind
colors: {
  custom: {
    50: '#70a46e',
    500: '#2d7e34',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e34;
$custom-light: #70a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e34",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 52
  },
  "hsl": {
    "h": 125.185,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52616,
    "c": 0.13468,
    "h": 144.8
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#2D7E34
secondary
#AC5AA5
accent
#51CBD7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7E34

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

Preview Lab → · Contrast checker → · Palette generator →

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