#2D7941#2D7941

#2D7941 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.115 H 149.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2D7941
RGBrgb(45, 121, 65)
HSLhsl(136, 46%, 33%)
HSVhsv(136, 63%, 47%)
CMYKcmyk(62.8%, 0%, 46.3%, 52.5%)
CIE-LABlab(45.10, -36.54, 23.90)
CIE-LCHlch(45.10, 43.66, 146.81°)
OKLaboklab(51.43% -0.0987 0.0587)
OKLCHoklch(51.43% 0.115 149.3)
XYZxyz(8.8731, 14.6134, 7.3531)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7941 #792D65
analogous
#3F792D #2D7941 #2D7967
triadic
#2D7941 #412D79 #79412D
tetradic
#2D7941 #2D3F79 #792D65 #79672D
square
#2D7941 #2D3F79 #792D65 #79672D
split-complementary
#2D7941 #672D79 #792D3F
monochromatic
#0C2011 #1C4C29 #2D7941 #3EA659 #5DC378

Accessibility & contrast

On white

5.35
#2D7941 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2D7941 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7941
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7941#FFFFFF#000000##FFFFFF
##2D79411.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3D
Deuteranopia (green-blind)
#706845
Tritanopia (blue-blind)
#17776B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7941;
/* rgb */ color: rgb(45, 121, 65);
/* oklch */ color: oklch(51.4% 0.115 149.3);
Tailwind
colors: {
  custom: {
    50: '#6ea076',
    500: '#2d7941',
    950: '#000000',
  },
}
SCSS
$custom: #2d7941;
$custom-light: #6ea076;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7941",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 65
  },
  "hsl": {
    "h": 135.789,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.11489,
    "h": 149.3
  },
  "luminance": 0.14614
}

Semantic roles & 50–950 ramp

primary
#2D7941
secondary
#A95894
accent
#52B3D5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2D7941

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

Preview Lab → · Contrast checker → · Palette generator →

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