#2D8A3A#2D8A3A

#2D8A3A is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.146 H 145.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2D8A3A
RGBrgb(45, 138, 58)
HSLhsl(128, 51%, 36%)
HSVhsv(128, 67%, 54%)
CMYKcmyk(67.4%, 0%, 58%, 45.9%)
CIE-LABlab(50.73, -44.47, 34.55)
CIE-LCHlch(50.73, 56.32, 142.15°)
OKLaboklab(56.04% -0.1202 0.0822)
OKLCHoklch(56.04% 0.146 145.6)
XYZxyz(10.9337, 19.0392, 7.1009)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A3A #8A2D7D
analogous
#4E8A2D #2D8A3A #2D8A68
triadic
#2D8A3A #3A2D8A #8A3A2D
tetradic
#2D8A3A #2D4E8A #8A2D7D #8A682D
square
#2D8A3A #2D4E8A #8A2D7D #8A682D
split-complementary
#2D8A3A #682D8A #8A2D4E
monochromatic
#0F2E13 #1E5C27 #2D8A3A #3CB84D #65CD73

Accessibility & contrast

On white

4.37
#2D8A3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2D8A3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A3A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A3A#FFFFFF#000000##000000
##2D8A3A1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E32
Deuteranopia (green-blind)
#817640
Tritanopia (blue-blind)
#128778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8a3a;
/* rgb */ color: rgb(45, 138, 58);
/* oklch */ color: oklch(56.0% 0.146 145.6);
Tailwind
colors: {
  custom: {
    50: '#72ad72',
    500: '#2d8a3a',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a3a;
$custom-light: #72ad72;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a3a",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 58
  },
  "hsl": {
    "h": 128.387,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.14559,
    "h": 145.6
  },
  "luminance": 0.1904
}

Semantic roles & 50–950 ramp

primary
#2D8A3A
secondary
#B360A8
accent
#4DC7DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2D8A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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