#2D8941#2D8941

#2D8941 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.9% C 0.138 H 147.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2D8941
RGBrgb(45, 137, 65)
HSLhsl(133, 51%, 36%)
HSVhsv(133, 67%, 54%)
CMYKcmyk(67.2%, 0%, 52.6%, 46.3%)
CIE-LABlab(50.49, -43.06, 30.67)
CIE-LCHlch(50.49, 52.87, 144.54°)
OKLaboklab(55.87% -0.1162 0.0741)
OKLCHoklch(55.87% 0.138 147.5)
XYZxyz(10.9812, 18.8297, 8.0558)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8941 #892D75
analogous
#47892D #2D8941 #2D896F
triadic
#2D8941 #412D89 #89412D
tetradic
#2D8941 #2D4789 #892D75 #896F2D
square
#2D8941 #2D4789 #892D75 #896F2D
split-complementary
#2D8941 #6F2D89 #892D47
monochromatic
#0F2D15 #1E5B2B #2D8941 #3CB757 #64CC7B

Accessibility & contrast

On white

4.41
#2D8941 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2D8941 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8941
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8941#FFFFFF#000000##000000
##2D89411.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D3B
Deuteranopia (green-blind)
#7F7546
Tritanopia (blue-blind)
#0E8678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8941;
/* rgb */ color: rgb(45, 137, 65);
/* oklch */ color: oklch(55.9% 0.138 147.5);
Tailwind
colors: {
  custom: {
    50: '#72ac77',
    500: '#2d8941',
    950: '#000000',
  },
}
SCSS
$custom: #2d8941;
$custom-light: #72ac77;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8941",
  "rgb": {
    "r": 45,
    "g": 137,
    "b": 65
  },
  "hsl": {
    "h": 133.043,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.1378,
    "h": 147.5
  },
  "luminance": 0.18831
}

Semantic roles & 50–950 ramp

primary
#2D8941
secondary
#B35FA1
accent
#4EBCDA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2D8941

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

Preview Lab → · Contrast checker → · Palette generator →

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