#2D8D38#2D8D38

#2D8D38 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.151 H 145.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2D8D38
RGBrgb(45, 141, 56)
HSLhsl(127, 52%, 36%)
HSVhsv(127, 68%, 55%)
CMYKcmyk(68.1%, 0%, 60.3%, 44.7%)
CIE-LABlab(51.71, -45.87, 36.69)
CIE-LCHlch(51.71, 58.74, 141.34°)
OKLaboklab(56.85% -0.124 0.0867)
OKLCHoklch(56.85% 0.151 145.1)
XYZxyz(11.3201, 19.8920, 6.9836)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D38 #8D2D82
analogous
#528D2D #2D8D38 #2D8D68
triadic
#2D8D38 #382D8D #8D382D
tetradic
#2D8D38 #2D528D #8D2D82 #8D682D
square
#2D8D38 #2D528D #8D2D82 #8D682D
split-complementary
#2D8D38 #682D8D #8D2D52
monochromatic
#0F3013 #1E5F26 #2D8D38 #3CBB4A #66CE72

Accessibility & contrast

On white

4.22
#2D8D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#2D8D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D38
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D38#FFFFFF#000000##000000
##2D8D381.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#84783F
Tritanopia (blue-blind)
#11897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d38;
/* rgb */ color: rgb(45, 141, 56);
/* oklch */ color: oklch(56.8% 0.151 145.1);
Tailwind
colors: {
  custom: {
    50: '#73af71',
    500: '#2d8d38',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d38;
$custom-light: #73af71;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d38",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 126.875,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56845,
    "c": 0.15132,
    "h": 145.1
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#2D8D38
secondary
#B561AB
accent
#4DCBDB
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2D8D38

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

Preview Lab → · Contrast checker → · Palette generator →

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