#2D8949#2D8949

#2D8949 is a mid, vivid green. Relative luminance 0.189; OKLCH L 56.0% C 0.130 H 149.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2D8949
RGBrgb(45, 137, 73)
HSLhsl(138, 51%, 36%)
HSVhsv(138, 67%, 54%)
CMYKcmyk(67.2%, 0%, 46.7%, 46.3%)
CIE-LABlab(50.60, -41.74, 26.55)
CIE-LCHlch(50.60, 49.47, 147.54°)
OKLaboklab(56% -0.1126 0.0651)
OKLCHoklch(56% 0.13 149.9)
XYZxyz(11.2296, 18.9291, 9.3639)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8949 #892D6D
analogous
#3F892D #2D8949 #2D8977
triadic
#2D8949 #492D89 #89492D
tetradic
#2D8949 #2D3F89 #892D6D #89772D
square
#2D8949 #2D3F89 #892D6D #89772D
split-complementary
#2D8949 #772D89 #892D3F
monochromatic
#0F2D18 #1E5B30 #2D8949 #3CB762 #64CC84

Accessibility & contrast

On white

4.39
#2D8949 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2D8949 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8949
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8949#FFFFFF#000000##000000
##2D89491.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D44
Deuteranopia (green-blind)
#7E754D
Tritanopia (blue-blind)
#06877A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8949;
/* rgb */ color: rgb(45, 137, 73);
/* oklch */ color: oklch(56.0% 0.130 149.9);
Tailwind
colors: {
  custom: {
    50: '#71ac7d',
    500: '#2d8949',
    950: '#000000',
  },
}
SCSS
$custom: #2d8949;
$custom-light: #71ac7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8949",
  "rgb": {
    "r": 45,
    "g": 137,
    "b": 73
  },
  "hsl": {
    "h": 138.261,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56001,
    "c": 0.13008,
    "h": 149.9
  },
  "luminance": 0.1893
}

Semantic roles & 50–950 ramp

primary
#2D8949
secondary
#B35F99
accent
#4EAFDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2D8949

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

Preview Lab → · Contrast checker → · Palette generator →

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