#2D8939#2D8939

#2D8939 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.8% C 0.145 H 145.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2D8939
RGBrgb(45, 137, 57)
HSLhsl(128, 51%, 36%)
HSVhsv(128, 67%, 54%)
CMYKcmyk(67.2%, 0%, 58.4%, 46.3%)
CIE-LABlab(50.39, -44.23, 34.64)
CIE-LCHlch(50.39, 56.18, 141.93°)
OKLaboklab(55.75% -0.1196 0.0823)
OKLCHoklch(55.75% 0.145 145.5)
XYZxyz(10.7657, 18.7435, 6.9206)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8939 #892D7D
analogous
#4F892D #2D8939 #2D8967
triadic
#2D8939 #392D89 #89392D
tetradic
#2D8939 #2D4F89 #892D7D #89672D
square
#2D8939 #2D4F89 #892D7D #89672D
split-complementary
#2D8939 #672D89 #892D4F
monochromatic
#0F2D13 #1E5B26 #2D8939 #3CB74C #64CC72

Accessibility & contrast

On white

4.42
#2D8939 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2D8939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8939
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8939#FFFFFF#000000##000000
##2D89391.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D31
Deuteranopia (green-blind)
#80753F
Tritanopia (blue-blind)
#138677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8939;
/* rgb */ color: rgb(45, 137, 57);
/* oklch */ color: oklch(55.8% 0.145 145.5);
Tailwind
colors: {
  custom: {
    50: '#72ac72',
    500: '#2d8939',
    950: '#000000',
  },
}
SCSS
$custom: #2d8939;
$custom-light: #72ac72;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8939",
  "rgb": {
    "r": 45,
    "g": 137,
    "b": 57
  },
  "hsl": {
    "h": 127.826,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5575,
    "c": 0.14515,
    "h": 145.5
  },
  "luminance": 0.18745
}

Semantic roles & 50–950 ramp

primary
#2D8939
secondary
#B35FA8
accent
#4EC8DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2D8939

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

Preview Lab → · Contrast checker → · Palette generator →

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