#2D8729#2D8729

#2D8729 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.156 H 142.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2D8729
RGBrgb(45, 135, 41)
HSLhsl(117, 53%, 35%)
HSVhsv(117, 70%, 53%)
CMYKcmyk(66.7%, 0%, 69.6%, 47.1%)
CIE-LABlab(49.55, -45.36, 41.18)
CIE-LCHlch(49.55, 61.27, 137.77°)
OKLaboklab(55.01% -0.1234 0.0946)
OKLCHoklch(55.01% 0.156 142.5)
XYZxyz(10.1458, 18.0449, 5.0457)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8729 #832987
analogous
#5C8729 #2D8729 #298754
triadic
#2D8729 #292D87 #87292D
tetradic
#2D8729 #295C87 #832987 #875429
square
#2D8729 #295C87 #832987 #875429
split-complementary
#2D8729 #542987 #87295C
monochromatic
#0E290C #1D581B #2D8729 #3DB637 #62CE5D

Accessibility & contrast

On white

4.56
#2D8729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2D8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8729
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8729#FFFFFF#000000##000000
##2D87291.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1C
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#1A8374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d8729;
/* rgb */ color: rgb(45, 135, 41);
/* oklch */ color: oklch(55.0% 0.156 142.5);
Tailwind
colors: {
  custom: {
    50: '#72ab68',
    500: '#2d8729',
    950: '#000000',
  },
}
SCSS
$custom: #2d8729;
$custom-light: #72ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8729",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 117.447,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55007,
    "c": 0.15551,
    "h": 142.5
  },
  "luminance": 0.18046
}

Semantic roles & 50–950 ramp

primary
#2D8729
secondary
#AF59B3
accent
#4BDDD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8729

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

Preview Lab → · Contrast checker → · Palette generator →

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