#2D8A38#2D8A38

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

Color values

HEX#2D8A38
RGBrgb(45, 138, 56)
HSLhsl(127, 51%, 36%)
HSVhsv(127, 67%, 54%)
CMYKcmyk(67.4%, 0%, 59.4%, 45.9%)
CIE-LABlab(50.71, -44.74, 35.52)
CIE-LCHlch(50.71, 57.13, 141.55°)
OKLaboklab(56.01% -0.121 0.0841)
OKLCHoklch(56.01% 0.147 145.2)
XYZxyz(10.8838, 19.0192, 6.8381)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A38 #8A2D7F
analogous
#508A2D #2D8A38 #2D8A66
triadic
#2D8A38 #382D8A #8A382D
tetradic
#2D8A38 #2D508A #8A2D7F #8A662D
square
#2D8A38 #2D508A #8A2D7F #8A662D
split-complementary
#2D8A38 #662D8A #8A2D50
monochromatic
#0F2E13 #1E5C25 #2D8A38 #3CB84B #65CD71

Accessibility & contrast

On white

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

On black

4.80
#2D8A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A38
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A38#FFFFFF#000000##000000
##2D8A381.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D30
Deuteranopia (green-blind)
#81763E
Tritanopia (blue-blind)
#138778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8a38;
/* rgb */ color: rgb(45, 138, 56);
/* oklch */ color: oklch(56.0% 0.147 145.2);
Tailwind
colors: {
  custom: {
    50: '#72ad71',
    500: '#2d8a38',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a38;
$custom-light: #72ad71;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a38",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 127.097,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56014,
    "c": 0.14736,
    "h": 145.2
  },
  "luminance": 0.1902
}

Semantic roles & 50–950 ramp

primary
#2D8A38
secondary
#B360A9
accent
#4DCADA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2D8A38

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

Preview Lab → · Contrast checker → · Palette generator →

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