#2D7A41#2D7A41

#2D7A41 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.7% C 0.116 H 149.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2D7A41
RGBrgb(45, 122, 65)
HSLhsl(136, 46%, 33%)
HSVhsv(136, 63%, 48%)
CMYKcmyk(63.1%, 0%, 46.7%, 52.2%)
CIE-LABlab(45.44, -36.97, 24.33)
CIE-LCHlch(45.44, 44.26, 146.64°)
OKLaboklab(51.71% -0.0999 0.0597)
OKLCHoklch(51.71% 0.116 149.1)
XYZxyz(8.9952, 14.8577, 7.3938)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A41 #7A2D66
analogous
#407A2D #2D7A41 #2D7A67
triadic
#2D7A41 #412D7A #7A412D
tetradic
#2D7A41 #2D407A #7A2D66 #7A672D
square
#2D7A41 #2D407A #7A2D66 #7A672D
split-complementary
#2D7A41 #672D7A #7A2D40
monochromatic
#0C2111 #1D4D29 #2D7A41 #3DA759 #5EC478

Accessibility & contrast

On white

5.29
#2D7A41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2D7A41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A41
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A41#FFFFFF#000000##FFFFFF
##2D7A411.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703D
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#17786C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7a41;
/* rgb */ color: rgb(45, 122, 65);
/* oklch */ color: oklch(51.7% 0.116 149.1);
Tailwind
colors: {
  custom: {
    50: '#6fa176',
    500: '#2d7a41',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a41;
$custom-light: #6fa176;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a41",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 65
  },
  "hsl": {
    "h": 135.584,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51707,
    "c": 0.11637,
    "h": 149.1
  },
  "luminance": 0.14859
}

Semantic roles & 50–950 ramp

primary
#2D7A41
secondary
#AA5995
accent
#52B4D6
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2D7A41

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

Preview Lab → · Contrast checker → · Palette generator →

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