#2D8345#2D8345

#2D8345 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.3% C 0.125 H 149.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2D8345
RGBrgb(45, 131, 69)
HSLhsl(137, 49%, 35%)
HSVhsv(137, 66%, 51%)
CMYKcmyk(65.6%, 0%, 47.3%, 48.6%)
CIE-LABlab(48.53, -40.00, 26.09)
CIE-LCHlch(48.53, 47.76, 146.89°)
OKLaboklab(54.28% -0.108 0.0639)
OKLCHoklch(54.28% 0.125 149.4)
XYZxyz(10.2719, 17.2191, 8.4114)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8345 #832D6B
analogous
#40832D #2D8345 #2D8370
triadic
#2D8345 #452D83 #83452D
tetradic
#2D8345 #2D4083 #832D6B #83702D
square
#2D8345 #2D4083 #832D6B #83702D
split-complementary
#2D8345 #702D83 #832D40
monochromatic
#0E2815 #1D552D #2D8345 #3DB15D #62C97E

Accessibility & contrast

On white

4.73
#2D8345 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2D8345 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8345
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8345#FFFFFF#000000##FFFFFF
##2D83451.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847840
Deuteranopia (green-blind)
#797049
Tritanopia (blue-blind)
#0F8174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8345;
/* rgb */ color: rgb(45, 131, 69);
/* oklch */ color: oklch(54.3% 0.125 149.4);
Tailwind
colors: {
  custom: {
    50: '#70a87a',
    500: '#2d8345',
    950: '#000000',
  },
}
SCSS
$custom: #2d8345;
$custom-light: #70a87a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8345",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 69
  },
  "hsl": {
    "h": 136.744,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54276,
    "c": 0.12547,
    "h": 149.4
  },
  "luminance": 0.1722
}

Semantic roles & 50–950 ramp

primary
#2D8345
secondary
#AF5C98
accent
#4FB2D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2D8345

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

Preview Lab → · Contrast checker → · Palette generator →

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