#2D8E42#2D8E42

#2D8E42 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.144 H 147.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2D8E42
RGBrgb(45, 142, 66)
HSLhsl(133, 52%, 37%)
HSVhsv(133, 68%, 56%)
CMYKcmyk(68.3%, 0%, 53.5%, 44.3%)
CIE-LABlab(52.17, -44.85, 32.22)
CIE-LCHlch(52.17, 55.22, 144.31°)
OKLaboklab(57.26% -0.121 0.0776)
OKLCHoklch(57.26% 0.144 147.3)
XYZxyz(11.7377, 20.2960, 8.4521)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E42 #8E2D79
analogous
#498E2D #2D8E42 #2D8E73
triadic
#2D8E42 #422D8E #8E422D
tetradic
#2D8E42 #2D498E #8E2D79 #8E732D
square
#2D8E42 #2D498E #8E2D79 #8E732D
split-complementary
#2D8E42 #732D8E #8E2D49
monochromatic
#103117 #1E602C #2D8E42 #3CBC58 #67CF7D

Accessibility & contrast

On white

4.15
#2D8E42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2D8E42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8E42
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8E42#FFFFFF#000000##000000
##2D8E421.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90813B
Deuteranopia (green-blind)
#847948
Tritanopia (blue-blind)
#088B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8e42;
/* rgb */ color: rgb(45, 142, 66);
/* oklch */ color: oklch(57.3% 0.144 147.3);
Tailwind
colors: {
  custom: {
    50: '#73b078',
    500: '#2d8e42',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e42;
$custom-light: #73b078;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e42",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 66
  },
  "hsl": {
    "h": 132.99,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57261,
    "c": 0.14371,
    "h": 147.3
  },
  "luminance": 0.20297
}

Semantic roles & 50–950 ramp

primary
#2D8E42
secondary
#B561A3
accent
#4CBCDB
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2D8E42

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

Preview Lab → · Contrast checker → · Palette generator →

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