#2D7129#2D7129

#2D7129 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.126 H 142.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2D7129
RGBrgb(45, 113, 41)
HSLhsl(117, 47%, 30%)
HSVhsv(117, 64%, 44%)
CMYKcmyk(60.2%, 0%, 63.7%, 55.7%)
CIE-LABlab(42.04, -36.81, 32.90)
CIE-LCHlch(42.04, 49.36, 138.21°)
OKLaboklab(48.81% -0.1002 0.0771)
OKLCHoklch(48.81% 0.126 142.4)
XYZxyz(7.3872, 12.5276, 4.1262)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7129 #6D2971
analogous
#517129 #2D7129 #297149
triadic
#2D7129 #292D71 #71292D
tetradic
#2D7129 #295171 #6D2971 #714929
square
#2D7129 #295171 #6D2971 #714929
split-complementary
#2D7129 #492971 #712951
monochromatic
#091708 #1B4419 #2D7129 #3F9E39 #5AC154

Accessibility & contrast

On white

5.99
#2D7129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2D7129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7129
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7129#FFFFFF#000000##FFFFFF
##2D71291.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746721
Deuteranopia (green-blind)
#6B612F
Tritanopia (blue-blind)
#226E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d7129;
/* rgb */ color: rgb(45, 113, 41);
/* oklch */ color: oklch(48.8% 0.126 142.4);
Tailwind
colors: {
  custom: {
    50: '#6e9a66',
    500: '#2d7129',
    950: '#000000',
  },
}
SCSS
$custom: #2d7129;
$custom-light: #6e9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7129",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 41
  },
  "hsl": {
    "h": 116.667,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48806,
    "c": 0.12643,
    "h": 142.4
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#2D7129
secondary
#9F53A3
accent
#51D6CF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D7129

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

Preview Lab → · Contrast checker → · Palette generator →

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