#2D8847#2D8847

#2D8847 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.7% C 0.131 H 149.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2D8847
RGBrgb(45, 136, 71)
HSLhsl(137, 50%, 35%)
HSVhsv(137, 67%, 53%)
CMYKcmyk(66.9%, 0%, 47.8%, 46.7%)
CIE-LABlab(50.24, -41.69, 27.17)
CIE-LCHlch(50.24, 49.76, 146.90°)
OKLaboklab(55.69% -0.1124 0.0665)
OKLCHoklch(55.69% 0.131 149.4)
XYZxyz(11.0228, 18.6200, 8.9731)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8847 #882D6E
analogous
#40882D #2D8847 #2D8874
triadic
#2D8847 #472D88 #88472D
tetradic
#2D8847 #2D4088 #882D6E #88742D
square
#2D8847 #2D4088 #882D6E #88742D
split-complementary
#2D8847 #742D88 #882D40
monochromatic
#0F2C17 #1E5A2F #2D8847 #3CB65F #64CC81

Accessibility & contrast

On white

4.45
#2D8847 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2D8847 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8847
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8847#FFFFFF#000000##000000
##2D88471.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C42
Deuteranopia (green-blind)
#7E744B
Tritanopia (blue-blind)
#098578
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8847;
/* rgb */ color: rgb(45, 136, 71);
/* oklch */ color: oklch(55.7% 0.131 149.4);
Tailwind
colors: {
  custom: {
    50: '#71ab7b',
    500: '#2d8847',
    950: '#000000',
  },
}
SCSS
$custom: #2d8847;
$custom-light: #71ab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8847",
  "rgb": {
    "r": 45,
    "g": 136,
    "b": 71
  },
  "hsl": {
    "h": 137.143,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.13062,
    "h": 149.4
  },
  "luminance": 0.18621
}

Semantic roles & 50–950 ramp

primary
#2D8847
secondary
#B25F9A
accent
#4EB2DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2D8847

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

Preview Lab → · Contrast checker → · Palette generator →

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