#2D8340#2D8340

#2D8340 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.130 H 147.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2D8340
RGBrgb(45, 131, 64)
HSLhsl(133, 49%, 35%)
HSVhsv(133, 66%, 51%)
CMYKcmyk(65.6%, 0%, 51.1%, 48.6%)
CIE-LABlab(48.46, -40.84, 28.69)
CIE-LCHlch(48.46, 49.91, 144.91°)
OKLaboklab(54.19% -0.1102 0.0696)
OKLCHoklch(54.19% 0.13 147.7)
XYZxyz(10.1232, 17.1596, 7.6281)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8340 #832D70
analogous
#45832D #2D8340 #2D836B
triadic
#2D8340 #402D83 #83402D
tetradic
#2D8340 #2D4583 #832D70 #836B2D
square
#2D8340 #2D4583 #832D70 #836B2D
split-complementary
#2D8340 #6B2D83 #832D45
monochromatic
#0E2813 #1D552A #2D8340 #3DB156 #62C978

Accessibility & contrast

On white

4.74
#2D8340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2D8340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8340
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8340#FFFFFF#000000##FFFFFF
##2D83401.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84783A
Deuteranopia (green-blind)
#7A7045
Tritanopia (blue-blind)
#138073
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8340;
/* rgb */ color: rgb(45, 131, 64);
/* oklch */ color: oklch(54.2% 0.130 147.7);
Tailwind
colors: {
  custom: {
    50: '#70a876',
    500: '#2d8340',
    950: '#000000',
  },
}
SCSS
$custom: #2d8340;
$custom-light: #70a876;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8340",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 133.256,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54191,
    "c": 0.13037,
    "h": 147.7
  },
  "luminance": 0.17161
}

Semantic roles & 50–950 ramp

primary
#2D8340
secondary
#AF5C9D
accent
#4FBAD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2D8340

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

Preview Lab → · Contrast checker → · Palette generator →

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