#2D8640#2D8640

#2D8640 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.135 H 147.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2D8640
RGBrgb(45, 134, 64)
HSLhsl(133, 50%, 35%)
HSVhsv(133, 66%, 53%)
CMYKcmyk(66.4%, 0%, 52.2%, 47.5%)
CIE-LABlab(49.47, -42.04, 29.94)
CIE-LCHlch(49.47, 51.61, 144.54°)
OKLaboklab(55.02% -0.1135 0.0724)
OKLCHoklch(55.02% 0.135 147.5)
XYZxyz(10.5320, 17.9772, 7.7644)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8640 #862D73
analogous
#46862D #2D8640 #2D866D
triadic
#2D8640 #402D86 #86402D
tetradic
#2D8640 #2D4686 #862D73 #866D2D
square
#2D8640 #2D4686 #862D73 #866D2D
split-complementary
#2D8640 #6D2D86 #862D46
monochromatic
#0E2A14 #1E582A #2D8640 #3CB456 #63CB79

Accessibility & contrast

On white

4.57
#2D8640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2D8640 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8640
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8640#FFFFFF#000000##000000
##2D86401.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A3A
Deuteranopia (green-blind)
#7C7345
Tritanopia (blue-blind)
#118376
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d8640;
/* rgb */ color: rgb(45, 134, 64);
/* oklch */ color: oklch(55.0% 0.135 147.5);
Tailwind
colors: {
  custom: {
    50: '#71aa76',
    500: '#2d8640',
    950: '#000000',
  },
}
SCSS
$custom: #2d8640;
$custom-light: #71aa76;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8640",
  "rgb": {
    "r": 45,
    "g": 134,
    "b": 64
  },
  "hsl": {
    "h": 132.809,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55022,
    "c": 0.13458,
    "h": 147.5
  },
  "luminance": 0.17978
}

Semantic roles & 50–950 ramp

primary
#2D8640
secondary
#B15E9F
accent
#4FBCD9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2D8640

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

Preview Lab → · Contrast checker → · Palette generator →

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