#2D8E40#2D8E40

#2D8E40 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.146 H 146.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2D8E40
RGBrgb(45, 142, 64)
HSLhsl(132, 52%, 37%)
HSVhsv(132, 68%, 56%)
CMYKcmyk(68.3%, 0%, 54.9%, 44.3%)
CIE-LABlab(52.14, -45.14, 33.21)
CIE-LCHlch(52.14, 56.05, 143.66°)
OKLaboklab(57.23% -0.1218 0.0797)
OKLCHoklch(57.23% 0.146 146.8)
XYZxyz(11.6798, 20.2728, 8.1470)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E40 #8E2D7B
analogous
#4A8E2D #2D8E40 #2D8E71
triadic
#2D8E40 #402D8E #8E402D
tetradic
#2D8E40 #2D4A8E #8E2D7B #8E712D
square
#2D8E40 #2D4A8E #8E2D7B #8E712D
split-complementary
#2D8E40 #712D8E #8E2D4A
monochromatic
#103116 #1E602B #2D8E40 #3CBC55 #67CF7B

Accessibility & contrast

On white

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

On black

5.05
#2D8E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8E40
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8E40#FFFFFF#000000##000000
##2D8E401.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908139
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#0A8B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8e40;
/* rgb */ color: rgb(45, 142, 64);
/* oklch */ color: oklch(57.2% 0.146 146.8);
Tailwind
colors: {
  custom: {
    50: '#73b077',
    500: '#2d8e40',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e40;
$custom-light: #73b077;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e40",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 131.753,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57231,
    "c": 0.14555,
    "h": 146.8
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#2D8E40
secondary
#B561A5
accent
#4CBFDB
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2D8E40

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

Preview Lab → · Contrast checker → · Palette generator →

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