#2D8545#2D8545

#2D8545 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.128 H 149.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2D8545
RGBrgb(45, 133, 69)
HSLhsl(136, 49%, 35%)
HSVhsv(136, 66%, 52%)
CMYKcmyk(66.2%, 0%, 48.1%, 47.8%)
CIE-LABlab(49.21, -40.82, 26.94)
CIE-LCHlch(49.21, 48.91, 146.57°)
OKLaboklab(54.83% -0.1101 0.0659)
OKLCHoklch(54.83% 0.128 149.1)
XYZxyz(10.5431, 17.7615, 8.5018)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8545 #852D6D
analogous
#41852D #2D8545 #2D8571
triadic
#2D8545 #452D85 #85452D
tetradic
#2D8545 #2D4185 #852D6D #85712D
square
#2D8545 #2D4185 #852D6D #85712D
split-complementary
#2D8545 #712D85 #852D41
monochromatic
#0E2A16 #1E572D #2D8545 #3CB35D #62CA7F

Accessibility & contrast

On white

4.61
#2D8545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2D8545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8545
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8545#FFFFFF#000000##FFFFFF
##2D85451.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A40
Deuteranopia (green-blind)
#7B7249
Tritanopia (blue-blind)
#0E8276
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d8545;
/* rgb */ color: rgb(45, 133, 69);
/* oklch */ color: oklch(54.8% 0.128 149.1);
Tailwind
colors: {
  custom: {
    50: '#71a97a',
    500: '#2d8545',
    950: '#000000',
  },
}
SCSS
$custom: #2d8545;
$custom-light: #71a97a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8545",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 69
  },
  "hsl": {
    "h": 136.364,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54829,
    "c": 0.12833,
    "h": 149.1
  },
  "luminance": 0.17763
}

Semantic roles & 50–950 ramp

primary
#2D8545
secondary
#B05D9A
accent
#4FB3D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2D8545

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

Preview Lab → · Contrast checker → · Palette generator →

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