#2D8946#2D8946

#2D8946 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.133 H 149.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2D8946
RGBrgb(45, 137, 70)
HSLhsl(136, 51%, 36%)
HSVhsv(136, 67%, 54%)
CMYKcmyk(67.2%, 0%, 48.9%, 46.3%)
CIE-LABlab(50.56, -42.25, 28.11)
CIE-LCHlch(50.56, 50.75, 146.36°)
OKLaboklab(55.95% -0.114 0.0686)
OKLCHoklch(55.95% 0.133 149)
XYZxyz(11.1325, 18.8902, 8.8527)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8946 #892D70
analogous
#42892D #2D8946 #2D8974
triadic
#2D8946 #462D89 #89462D
tetradic
#2D8946 #2D4289 #892D70 #89742D
square
#2D8946 #2D4289 #892D70 #89742D
split-complementary
#2D8946 #742D89 #892D42
monochromatic
#0F2D17 #1E5B2E #2D8946 #3CB75E #64CC80

Accessibility & contrast

On white

4.39
#2D8946 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2D8946 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8946
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8946#FFFFFF#000000##000000
##2D89461.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D41
Deuteranopia (green-blind)
#7F754B
Tritanopia (blue-blind)
#098679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8946;
/* rgb */ color: rgb(45, 137, 70);
/* oklch */ color: oklch(55.9% 0.133 149.0);
Tailwind
colors: {
  custom: {
    50: '#72ac7a',
    500: '#2d8946',
    950: '#000000',
  },
}
SCSS
$custom: #2d8946;
$custom-light: #72ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8946",
  "rgb": {
    "r": 45,
    "g": 137,
    "b": 70
  },
  "hsl": {
    "h": 136.304,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55949,
    "c": 0.133,
    "h": 149
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#2D8946
secondary
#B35F9C
accent
#4EB4DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2D8946

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

Preview Lab → · Contrast checker → · Palette generator →

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