#2D8E38#2D8E38

#2D8E38 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.153 H 145.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2D8E38
RGBrgb(45, 142, 56)
HSLhsl(127, 52%, 37%)
HSVhsv(127, 68%, 56%)
CMYKcmyk(68.3%, 0%, 60.6%, 44.3%)
CIE-LABlab(52.05, -46.24, 37.08)
CIE-LCHlch(52.05, 59.27, 141.28°)
OKLaboklab(57.12% -0.1251 0.0875)
OKLCHoklch(57.12% 0.153 145)
XYZxyz(11.4683, 20.1882, 7.0329)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E38 #8E2D83
analogous
#538E2D #2D8E38 #2D8E69
triadic
#2D8E38 #382D8E #8E382D
tetradic
#2D8E38 #2D538E #8E2D83 #8E692D
square
#2D8E38 #2D538E #8E2D83 #8E692D
split-complementary
#2D8E38 #692D8E #8E2D53
monochromatic
#103113 #1E6026 #2D8E38 #3CBC4A #67CF72

Accessibility & contrast

On white

4.17
#2D8E38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#2D8E38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8E38
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8E38#FFFFFF#000000##000000
##2D8E381.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812F
Deuteranopia (green-blind)
#85793F
Tritanopia (blue-blind)
#108A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8e38;
/* rgb */ color: rgb(45, 142, 56);
/* oklch */ color: oklch(57.1% 0.153 145.0);
Tailwind
colors: {
  custom: {
    50: '#73b071',
    500: '#2d8e38',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e38;
$custom-light: #73b071;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e38",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 56
  },
  "hsl": {
    "h": 126.804,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57122,
    "c": 0.15263,
    "h": 145
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

primary
#2D8E38
secondary
#B561AC
accent
#4CCBDB
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2D8E38

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

Preview Lab → · Contrast checker → · Palette generator →

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