#2D7E41#2D7E41

#2D7E41 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.122 H 148.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2D7E41
RGBrgb(45, 126, 65)
HSLhsl(135, 47%, 34%)
HSVhsv(135, 64%, 49%)
CMYKcmyk(64.3%, 0%, 48.4%, 50.6%)
CIE-LABlab(46.79, -38.64, 26.05)
CIE-LCHlch(46.79, 46.60, 146.01°)
OKLaboklab(52.82% -0.1043 0.0637)
OKLCHoklch(52.82% 0.122 148.6)
XYZxyz(9.4965, 15.8603, 7.5609)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E41 #7E2D6A
analogous
#417E2D #2D7E41 #2D7E69
triadic
#2D7E41 #412D7E #7E412D
tetradic
#2D7E41 #2D417E #7E2D6A #7E692D
square
#2D7E41 #2D417E #7E2D6A #7E692D
split-complementary
#2D7E41 #692D7E #7E2D41
monochromatic
#0D2412 #1D512A #2D7E41 #3DAB58 #5FC679

Accessibility & contrast

On white

5.03
#2D7E41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2D7E41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E41
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E41#FFFFFF#000000##FFFFFF
##2D7E411.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733C
Deuteranopia (green-blind)
#756C45
Tritanopia (blue-blind)
#157C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7e41;
/* rgb */ color: rgb(45, 126, 65);
/* oklch */ color: oklch(52.8% 0.122 148.6);
Tailwind
colors: {
  custom: {
    50: '#6fa476',
    500: '#2d7e41',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e41;
$custom-light: #6fa476;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e41",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 65
  },
  "hsl": {
    "h": 134.815,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5282,
    "c": 0.12223,
    "h": 148.6
  },
  "luminance": 0.15861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7E41

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

Preview Lab → · Contrast checker → · Palette generator →

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