#2D8240#2D8240

#2D8240 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.129 H 147.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2D8240
RGBrgb(45, 130, 64)
HSLhsl(133, 49%, 34%)
HSVhsv(133, 65%, 51%)
CMYKcmyk(65.4%, 0%, 50.8%, 49%)
CIE-LABlab(48.12, -40.44, 28.27)
CIE-LCHlch(48.12, 49.34, 145.04°)
OKLaboklab(53.91% -0.1092 0.0686)
OKLCHoklch(53.91% 0.129 147.8)
XYZxyz(9.9895, 16.8923, 7.5836)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8240 #822D6F
analogous
#45822D #2D8240 #2D826B
triadic
#2D8240 #402D82 #82402D
tetradic
#2D8240 #2D4582 #822D6F #826B2D
square
#2D8240 #2D4582 #822D6F #826B2D
split-complementary
#2D8240 #6B2D82 #822D45
monochromatic
#0E2713 #1D552A #2D8240 #3DAF56 #61C878

Accessibility & contrast

On white

4.80
#2D8240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2D8240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8240
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8240#FFFFFF#000000##FFFFFF
##2D82401.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773B
Deuteranopia (green-blind)
#796F45
Tritanopia (blue-blind)
#137F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d8240;
/* rgb */ color: rgb(45, 130, 64);
/* oklch */ color: oklch(53.9% 0.129 147.8);
Tailwind
colors: {
  custom: {
    50: '#70a776',
    500: '#2d8240',
    950: '#000000',
  },
}
SCSS
$custom: #2d8240;
$custom-light: #70a776;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8240",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 133.412,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53913,
    "c": 0.12895,
    "h": 147.8
  },
  "luminance": 0.16893
}

Semantic roles & 50–950 ramp

primary
#2D8240
secondary
#AF5C9C
accent
#50BAD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2D8240

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

Preview Lab → · Contrast checker → · Palette generator →

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