#2D7D29#2D7D29

#2D7D29 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.143 H 142.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2D7D29
RGBrgb(45, 125, 41)
HSLhsl(117, 51%, 33%)
HSVhsv(117, 67%, 49%)
CMYKcmyk(64%, 0%, 67.2%, 51%)
CIE-LABlab(46.16, -41.59, 37.50)
CIE-LCHlch(46.16, 55.99, 137.96°)
OKLaboklab(52.2% -0.1132 0.0869)
OKLCHoklch(52.2% 0.143 142.5)
XYZxyz(8.8156, 15.3844, 4.6023)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D29 #79297D
analogous
#577D29 #2D7D29 #297D4F
triadic
#2D7D29 #292D7D #7D292D
tetradic
#2D7D29 #29577D #79297D #7D4F29
square
#2D7D29 #29577D #79297D #7D4F29
split-complementary
#2D7D29 #4F297D #7D2957
monochromatic
#0C210B #1C4F1A #2D7D29 #3EAB38 #5DC858

Accessibility & contrast

On white

5.15
#2D7D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2D7D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D29
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D29#FFFFFF#000000##FFFFFF
##2D7D291.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711F
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#1E796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7d29;
/* rgb */ color: rgb(45, 125, 41);
/* oklch */ color: oklch(52.2% 0.143 142.5);
Tailwind
colors: {
  custom: {
    50: '#70a367',
    500: '#2d7d29',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d29;
$custom-light: #70a367;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d29",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 117.143,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.14267,
    "h": 142.5
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#2D7D29
secondary
#A954AE
accent
#4EDAD3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7D29

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

Preview Lab → · Contrast checker → · Palette generator →

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