#2D8645#2D8645

#2D8645 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.1% C 0.130 H 149.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2D8645
RGBrgb(45, 134, 69)
HSLhsl(136, 50%, 35%)
HSVhsv(136, 66%, 53%)
CMYKcmyk(66.4%, 0%, 48.5%, 47.5%)
CIE-LABlab(49.54, -41.22, 27.36)
CIE-LCHlch(49.54, 49.48, 146.42°)
OKLaboklab(55.11% -0.1112 0.0668)
OKLCHoklch(55.11% 0.13 149)
XYZxyz(10.6807, 18.0367, 8.5476)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8645 #862D6E
analogous
#41862D #2D8645 #2D8672
triadic
#2D8645 #452D86 #86452D
tetradic
#2D8645 #2D4186 #862D6E #86722D
square
#2D8645 #2D4186 #862D6E #86722D
split-complementary
#2D8645 #722D86 #862D41
monochromatic
#0E2A16 #1E582D #2D8645 #3CB45D #63CB7F

Accessibility & contrast

On white

4.56
#2D8645 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2D8645 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8645
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8645#FFFFFF#000000##000000
##2D86451.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B40
Deuteranopia (green-blind)
#7C734A
Tritanopia (blue-blind)
#0D8377
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d8645;
/* rgb */ color: rgb(45, 134, 69);
/* oklch */ color: oklch(55.1% 0.130 149.0);
Tailwind
colors: {
  custom: {
    50: '#71aa7a',
    500: '#2d8645',
    950: '#000000',
  },
}
SCSS
$custom: #2d8645;
$custom-light: #71aa7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8645",
  "rgb": {
    "r": 45,
    "g": 134,
    "b": 69
  },
  "hsl": {
    "h": 136.18,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55105,
    "c": 0.12974,
    "h": 149
  },
  "luminance": 0.18038
}

Semantic roles & 50–950 ramp

primary
#2D8645
secondary
#B15E9B
accent
#4FB4D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2D8645

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

Preview Lab → · Contrast checker → · Palette generator →

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