#2D7F29#2D7F29

#2D7F29 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.145 H 142.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2D7F29
RGBrgb(45, 127, 41)
HSLhsl(117, 51%, 33%)
HSVhsv(117, 68%, 50%)
CMYKcmyk(64.6%, 0%, 67.7%, 50.2%)
CIE-LABlab(46.84, -42.35, 38.24)
CIE-LCHlch(46.84, 57.07, 137.92°)
OKLaboklab(52.76% -0.1153 0.0885)
OKLCHoklch(52.76% 0.145 142.5)
XYZxyz(9.0713, 15.8958, 4.6875)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F29 #7B297F
analogous
#587F29 #2D7F29 #297F50
triadic
#2D7F29 #292D7F #7F292D
tetradic
#2D7F29 #29587F #7B297F #7F5029
square
#2D7F29 #29587F #7B297F #7F5029
split-complementary
#2D7F29 #50297F #7F2958
monochromatic
#0C220B #1D511A #2D7F29 #3DAD38 #5EC959

Accessibility & contrast

On white

5.02
#2D7F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2D7F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7F29
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F29#FFFFFF#000000##FFFFFF
##2D7F291.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731E
Deuteranopia (green-blind)
#786C31
Tritanopia (blue-blind)
#1E7B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7f29;
/* rgb */ color: rgb(45, 127, 41);
/* oklch */ color: oklch(52.8% 0.145 142.5);
Tailwind
colors: {
  custom: {
    50: '#71a567',
    500: '#2d7f29',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f29;
$custom-light: #71a567;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f29",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 117.209,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52764,
    "c": 0.14529,
    "h": 142.5
  },
  "luminance": 0.15897
}

Semantic roles & 50–950 ramp

primary
#2D7F29
secondary
#AB55AF
accent
#4DDBD4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7F29

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

Preview Lab → · Contrast checker → · Palette generator →

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