#2D8245#2D8245

#2D8245 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.124 H 149.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2D8245
RGBrgb(45, 130, 69)
HSLhsl(137, 49%, 34%)
HSVhsv(137, 65%, 51%)
CMYKcmyk(65.4%, 0%, 46.9%, 49%)
CIE-LABlab(48.20, -39.60, 25.66)
CIE-LCHlch(48.20, 47.18, 147.05°)
OKLaboklab(54% -0.1069 0.0629)
OKLCHoklch(54% 0.124 149.5)
XYZxyz(10.1382, 16.9518, 8.3668)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8245 #822D6A
analogous
#40822D #2D8245 #2D8270
triadic
#2D8245 #452D82 #82452D
tetradic
#2D8245 #2D4082 #822D6A #82702D
square
#2D8245 #2D4082 #822D6A #82702D
split-complementary
#2D8245 #702D82 #822D40
monochromatic
#0E2715 #1D552D #2D8245 #3DAF5D #61C87E

Accessibility & contrast

On white

4.78
#2D8245 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2D8245 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8245
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8245#FFFFFF#000000##FFFFFF
##2D82451.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837740
Deuteranopia (green-blind)
#786F49
Tritanopia (blue-blind)
#108073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d8245;
/* rgb */ color: rgb(45, 130, 69);
/* oklch */ color: oklch(54.0% 0.124 149.5);
Tailwind
colors: {
  custom: {
    50: '#70a779',
    500: '#2d8245',
    950: '#000000',
  },
}
SCSS
$custom: #2d8245;
$custom-light: #70a779;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8245",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 69
  },
  "hsl": {
    "h": 136.941,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54,
    "c": 0.12403,
    "h": 149.5
  },
  "luminance": 0.16953
}

Semantic roles & 50–950 ramp

primary
#2D8245
secondary
#AF5C97
accent
#50B2D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2D8245

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

Preview Lab → · Contrast checker → · Palette generator →

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