#2D8747#2D8747

#2D8747 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.129 H 149.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2D8747
RGBrgb(45, 135, 71)
HSLhsl(137, 50%, 35%)
HSVhsv(137, 67%, 53%)
CMYKcmyk(66.7%, 0%, 47.4%, 47.1%)
CIE-LABlab(49.91, -41.28, 26.75)
CIE-LCHlch(49.91, 49.19, 147.06°)
OKLaboklab(55.42% -0.1114 0.0655)
OKLCHoklch(55.42% 0.129 149.5)
XYZxyz(10.8827, 18.3396, 8.9264)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8747 #872D6D
analogous
#40872D #2D8747 #2D8774
triadic
#2D8747 #472D87 #87472D
tetradic
#2D8747 #2D4087 #872D6D #87742D
square
#2D8747 #2D4087 #872D6D #87742D
split-complementary
#2D8747 #742D87 #872D40
monochromatic
#0E2B17 #1E592F #2D8747 #3CB55F #63CB81

Accessibility & contrast

On white

4.50
#2D8747 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2D8747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8747
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8747#FFFFFF#000000##000000
##2D87471.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B42
Deuteranopia (green-blind)
#7D744B
Tritanopia (blue-blind)
#0A8578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d8747;
/* rgb */ color: rgb(45, 135, 71);
/* oklch */ color: oklch(55.4% 0.129 149.5);
Tailwind
colors: {
  custom: {
    50: '#71ab7b',
    500: '#2d8747',
    950: '#000000',
  },
}
SCSS
$custom: #2d8747;
$custom-light: #71ab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8747",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 71
  },
  "hsl": {
    "h": 137.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55416,
    "c": 0.1292,
    "h": 149.5
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#2D8747
secondary
#B25E9A
accent
#4EB1DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2D8747

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

Preview Lab → · Contrast checker → · Palette generator →

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