#2D8140#2D8140

#2D8140 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.128 H 147.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2D8140
RGBrgb(45, 129, 64)
HSLhsl(134, 48%, 34%)
HSVhsv(134, 65%, 51%)
CMYKcmyk(65.1%, 0%, 50.4%, 49.4%)
CIE-LABlab(47.79, -40.03, 27.85)
CIE-LCHlch(47.79, 48.77, 145.17°)
OKLaboklab(53.64% -0.1081 0.0677)
OKLCHoklch(53.64% 0.128 147.9)
XYZxyz(9.8572, 16.6276, 7.5395)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8140 #812D6E
analogous
#44812D #2D8140 #2D816A
triadic
#2D8140 #402D81 #81402D
tetradic
#2D8140 #2D4481 #812D6E #816A2D
square
#2D8140 #2D4481 #812D6E #816A2D
split-complementary
#2D8140 #6A2D81 #812D44
monochromatic
#0D2613 #1D5429 #2D8140 #3DAE57 #61C878

Accessibility & contrast

On white

4.85
#2D8140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2D8140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8140
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8140#FFFFFF#000000##FFFFFF
##2D81401.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763B
Deuteranopia (green-blind)
#786E45
Tritanopia (blue-blind)
#147E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8140;
/* rgb */ color: rgb(45, 129, 64);
/* oklch */ color: oklch(53.6% 0.128 147.9);
Tailwind
colors: {
  custom: {
    50: '#70a676',
    500: '#2d8140',
    950: '#000000',
  },
}
SCSS
$custom: #2d8140;
$custom-light: #70a676;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8140",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 133.571,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53636,
    "c": 0.12753,
    "h": 147.9
  },
  "luminance": 0.16629
}

Semantic roles & 50–950 ramp

primary
#2D8140
secondary
#AE5C9B
accent
#50B9D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2D8140

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

Preview Lab → · Contrast checker → · Palette generator →

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