#2D8B47#2D8B47

#2D8B47 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.135 H 149.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2D8B47
RGBrgb(45, 139, 71)
HSLhsl(137, 51%, 36%)
HSVhsv(137, 68%, 55%)
CMYKcmyk(67.6%, 0%, 48.9%, 45.5%)
CIE-LABlab(51.24, -42.88, 28.44)
CIE-LCHlch(51.24, 51.45, 146.45°)
OKLaboklab(56.52% -0.1156 0.0694)
OKLCHoklch(56.52% 0.135 149)
XYZxyz(11.4513, 19.4769, 9.1159)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B47 #8B2D71
analogous
#428B2D #2D8B47 #2D8B76
triadic
#2D8B47 #472D8B #8B472D
tetradic
#2D8B47 #2D428B #8B2D71 #8B762D
square
#2D8B47 #2D428B #8B2D71 #8B762D
split-complementary
#2D8B47 #762D8B #8B2D42
monochromatic
#0F2F18 #1E5D2F #2D8B47 #3CB95F #65CD82

Accessibility & contrast

On white

4.29
#2D8B47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2D8B47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B47
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B47#FFFFFF#000000##000000
##2D8B471.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F42
Deuteranopia (green-blind)
#80774C
Tritanopia (blue-blind)
#06887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8b47;
/* rgb */ color: rgb(45, 139, 71);
/* oklch */ color: oklch(56.5% 0.135 149.0);
Tailwind
colors: {
  custom: {
    50: '#72ae7b',
    500: '#2d8b47',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b47;
$custom-light: #72ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b47",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 71
  },
  "hsl": {
    "h": 136.596,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56516,
    "c": 0.13484,
    "h": 149
  },
  "luminance": 0.19478
}

Semantic roles & 50–950 ramp

primary
#2D8B47
secondary
#B4609D
accent
#4DB3DB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2D8B47

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

Preview Lab → · Contrast checker → · Palette generator →

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