#2D7E29#2D7E29

#2D7E29 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.144 H 142.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2D7E29
RGBrgb(45, 126, 41)
HSLhsl(117, 51%, 33%)
HSVhsv(117, 67%, 49%)
CMYKcmyk(64.3%, 0%, 67.5%, 50.6%)
CIE-LABlab(46.50, -41.97, 37.87)
CIE-LCHlch(46.50, 56.53, 137.94°)
OKLaboklab(52.48% -0.1142 0.0877)
OKLCHoklch(52.48% 0.144 142.5)
XYZxyz(8.9428, 15.6388, 4.6447)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E29 #7A297E
analogous
#587E29 #2D7E29 #297E4F
triadic
#2D7E29 #292D7E #7E292D
tetradic
#2D7E29 #29587E #7A297E #7E4F29
square
#2D7E29 #29587E #7A297E #7E4F29
split-complementary
#2D7E29 #4F297E #7E2958
monochromatic
#0C220B #1D501A #2D7E29 #3DAC38 #5EC959

Accessibility & contrast

On white

5.09
#2D7E29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2D7E29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E29
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E29#FFFFFF#000000##FFFFFF
##2D7E291.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721E
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#1E7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e29;
/* rgb */ color: rgb(45, 126, 41);
/* oklch */ color: oklch(52.5% 0.144 142.5);
Tailwind
colors: {
  custom: {
    50: '#70a467',
    500: '#2d7e29',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e29;
$custom-light: #70a467;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e29",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 117.176,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.14398,
    "h": 142.5
  },
  "luminance": 0.1564
}

Semantic roles & 50–950 ramp

primary
#2D7E29
secondary
#AA55AE
accent
#4DDAD4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7E29

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

Preview Lab → · Contrast checker → · Palette generator →

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