#2D7F41#2D7F41

#2D7F41 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.124 H 148.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2D7F41
RGBrgb(45, 127, 65)
HSLhsl(135, 48%, 34%)
HSVhsv(135, 65%, 50%)
CMYKcmyk(64.6%, 0%, 48.8%, 50.2%)
CIE-LABlab(47.13, -39.05, 26.48)
CIE-LCHlch(47.13, 47.18, 145.86°)
OKLaboklab(53.1% -0.1054 0.0646)
OKLCHoklch(53.1% 0.124 148.5)
XYZxyz(9.6250, 16.1173, 7.6037)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F41 #7F2D6B
analogous
#427F2D #2D7F41 #2D7F6A
triadic
#2D7F41 #412D7F #7F412D
tetradic
#2D7F41 #2D427F #7F2D6B #7F6A2D
square
#2D7F41 #2D427F #7F2D6B #7F6A2D
split-complementary
#2D7F41 #6A2D7F #7F2D42
monochromatic
#0D2513 #1D522A #2D7F41 #3DAC58 #60C779

Accessibility & contrast

On white

4.97
#2D7F41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2D7F41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7F41
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F41#FFFFFF#000000##FFFFFF
##2D7F411.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743C
Deuteranopia (green-blind)
#766D45
Tritanopia (blue-blind)
#147C70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d7f41;
/* rgb */ color: rgb(45, 127, 65);
/* oklch */ color: oklch(53.1% 0.124 148.5);
Tailwind
colors: {
  custom: {
    50: '#70a577',
    500: '#2d7f41',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f41;
$custom-light: #70a577;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f41",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 65
  },
  "hsl": {
    "h": 134.634,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53098,
    "c": 0.12368,
    "h": 148.5
  },
  "luminance": 0.16118
}

Semantic roles & 50–950 ramp

primary
#2D7F41
secondary
#AD5B99
accent
#51B6D7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2D7F41

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

Preview Lab → · Contrast checker → · Palette generator →

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