#2D7D41#2D7D41

#2D7D41 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.121 H 148.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2D7D41
RGBrgb(45, 125, 65)
HSLhsl(135, 47%, 33%)
HSVhsv(135, 64%, 49%)
CMYKcmyk(64%, 0%, 48%, 51%)
CIE-LABlab(46.45, -38.22, 25.63)
CIE-LCHlch(46.45, 46.02, 146.16°)
OKLaboklab(52.54% -0.1032 0.0627)
OKLCHoklch(52.54% 0.121 148.7)
XYZxyz(9.3693, 15.6059, 7.5185)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D41 #7D2D69
analogous
#417D2D #2D7D41 #2D7D69
triadic
#2D7D41 #412D7D #7D412D
tetradic
#2D7D41 #2D417D #7D2D69 #7D692D
square
#2D7D41 #2D417D #7D2D69 #7D692D
split-complementary
#2D7D41 #692D7D #7D2D41
monochromatic
#0D2312 #1D502A #2D7D41 #3DAA58 #5FC579

Accessibility & contrast

On white

5.10
#2D7D41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2D7D41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D41
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D41#FFFFFF#000000##FFFFFF
##2D7D411.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723C
Deuteranopia (green-blind)
#746B45
Tritanopia (blue-blind)
#157B6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7d41;
/* rgb */ color: rgb(45, 125, 65);
/* oklch */ color: oklch(52.5% 0.121 148.7);
Tailwind
colors: {
  custom: {
    50: '#6fa376',
    500: '#2d7d41',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d41;
$custom-light: #6fa376;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d41",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 65
  },
  "hsl": {
    "h": 135,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.12078,
    "h": 148.7
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#2D7D41
secondary
#AC5A97
accent
#51B5D7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2D7D41

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

Preview Lab → · Contrast checker → · Palette generator →

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